Multimeter
v1.42.4Scaffold, validate, format, and run YAML .mmt API tests.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
read_documentation Read Multimeter docs
Call when you need Multimeter YAML syntax rules. Defaults to pack "min" (small). Use pack "full" only for rare/advanced syntax. For new tests from an API, prefer scaffold_test over loading docs. Do not use testlight, npx, npm, shell, or node dist/mcp/server.js.
| Parameter | Type | Description |
|---|---|---|
pack | string | min (default, low token) or full |
topic | string | Documentation topic. Use workflow for MCP-first edit/run steps. Defaults to overview. |
list_examples List Multimeter examples
Call when you need example .mmt structure before creating or modifying a file. Prefer this over searching the repo or guessing YAML layout. Do not use testlight, npx, npm, shell, or node dist/mcp/server.js.
| Parameter | Type | Description |
|---|---|---|
category | string | Filter by category such as basic or intermediate |
includeContent | boolean | Include full example file contents |
maxItems | integer | Maximum number of examples to return |
type | string | Filter by document type such as test, api, or loadtest |
discover_api Discover workspace APIs
Call when listing APIs or inspecting one API before scaffolding a test. For a single API, prefer api_card. For new tests, prefer scaffold_test once apiPath is known. selectedApi omits full file content unless includeContent is true. Do not use testlight, npx, npm, shell, or node dist/mcp/server.js.
| Parameter | Type | Description |
|---|---|---|
workspaceRoot * | string | Workspace root directory |
apiPath | string | Optional API .mmt file path relative to workspaceRoot |
includeContent | boolean | Include full API file content (default false) |
api_card Compact API card
Return a small API summary (method, url, inputs, outputs, suggested paths) without dumping the full file. Prefer this over reading the whole .mmt or OpenAPI when generating or planning a test. Next step for a new test: scaffold_test. Do not use testlight, npx, npm, shell, or node dist/mcp/server.js.
| Parameter | Type | Description |
|---|---|---|
apiPath * | string | API .mmt file path relative to workspaceRoot or absolute |
workspaceRoot * | string | Workspace root directory |
scaffold_test Scaffold test from API
REQUIRED first step when generating a new Multimeter test from an existing API .mmt. Returns valid smoke (or example) test YAML, suggested path, import alias, and a compact apiCard. Write the yaml, apply only minimal edits, then validate. Do not invent a blank test from scratch. Do not use testlight, npx, npm, shell, or node dist/mcp/server.js.
| Parameter | Type | Description |
|---|---|---|
apiPath * | string | API .mmt file path relative to workspaceRoot or absolute |
workspaceRoot * | string | Workspace root directory |
alias | string | Optional import alias override |
outPath | string | Optional suggested output test path (relative) |
strategy | string | smoke (default) or example inputs |
suggest_assertions Suggest assert/expect patches
Suggest compact expect/assert YAML patches from API outputs and/or a JSON response body. Use after a run or when tightening a scaffolded smoke test — patch only, do not rewrite the file. Do not use testlight, npx, npm, shell, or node dist/mcp/server.js.
| Parameter | Type | Description |
|---|---|---|
apiPath | string | API .mmt to read outputs from |
body | Parsed JSON response body | |
bodyFile | string | Path to a JSON response file |
maxFields | integer | Max body fields to suggest |
status | number | HTTP status to expect |
stepId | string | Call step id for ${id.field} asserts |
style | string | Patch style (default both) |
workspaceRoot | string | Workspace root (required with apiPath or bodyFile) |
validate Validate .mmt file
REQUIRED after every create or modify operation on a .mmt file. Call immediately after editing a file and before telling the user the task is done. Returns structured errors and fix suggestions. Do not use testlight, npx, npm, shell, or node dist/mcp/server.js.
| Parameter | Type | Description |
|---|---|---|
file * | string | Path to the .mmt file relative to workspaceRoot or absolute |
expectedType | string | Optional expected document type |
workspaceRoot | string | Workspace root for relative paths |
format Format .mmt file
Format a Multimeter file using canonical field ordering and style rules. Call after validate passes when normalizing generated or edited YAML. Do not use testlight, npx, npm, shell, or node dist/mcp/server.js.
| Parameter | Type | Description |
|---|---|---|
file * | string | Path to the .mmt file |
workspaceRoot | string | Workspace root for relative paths |
run Run .mmt file
Execute a Multimeter test or API file and return structured pass/fail output, logs, and errors. ONLY supported way to run .mmt files from Copilot — call this directly when the user asks to run or execute. Do NOT use testlight CLI, npx, npm install, shell scripts, or node dist/mcp/server.js.
| Parameter | Type | Description |
|---|---|---|
file * | string | Path to the .mmt file to run |
env | object | |
inputs | object | |
quiet | boolean | Reduce run logs in the response |
workspaceRoot | string | Workspace root for relative paths |