Skip to main content
Glama

List Mapping Job Runs

listMappingRuns
Read-onlyIdempotent

List every run of one mapping job, newest first, by the job's id (from listMappings): each run has an id, runNumber (1 is the first), status (running, completed, failed or limited, with limitReason), stats, inFlightCount, probeMode and start and finish times; plus totalRuns. Use when: the user asks how a map has changed over time or when it was last mapped. Pass a runNumber as version to getMapping or getMappingTree to read that run. Read-only. Needs mapping:read. Returns 404 if the job is not in your workspace.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "listMappingRuns"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesMapping-job identifier.

Output Schema

NameRequiredDescriptionDefault
runsYes
jobIdYes
totalRunsYesTotal number of runs (for client-side pagination convenience).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover read-only and idempotency, and the description adds real operational context beyond them: required scope `mapping:read`, a 404 when the job is outside the workspace, and newest-first ordering. The only shortfall is that it doesn't discuss pagination or what totalRuns vs. returned count implies for large jobs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action and scope, then the use case, then the follow-up flow. It is dense and the long enumeration of run fields partly duplicates the output schema, but nothing is filler and the ordering of information is sensible.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read tool with an output schema and rich annotations, the definition covers provenance of the id, ordering, fields, auth scope, error behavior, and cross-tool follow-up. Only pagination on large run histories is unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter is fully documented in the schema, so the description's marginal value is in tracing the id back to its source (listMappings) and in explaining how a run's runNumber is reused as `version` elsewhere. That is meaning the schema cannot convey.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb and resource: 'List every run of one mapping job, newest first, by the job's `id` (from listMappings)'. It even names the sibling that produces the id, so an agent can distinguish it from listMappings and listBatchRuns without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit 'Use when:' trigger (historical change / last-mapped questions) and states the downstream flow: 'Pass a runNumber as `version` to getMapping or getMappingTree to read that run.' That actively routes the agent between this tool and two siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.