Skip to main content
Glama

List Mapping Path Rules

listMappingPathRules
Read-onlyIdempotent

List the path rules on one mapping job, by the job's id: the overrides a person set on particular branches. Each rule has a path ("root" or DTMF digits such as "3:2"), state (exclude: never explore this branch; remap: map it again on the next run), config (scripted input for that point, such as a PIN or a spoken reply), repeat settings and when and by whom it was set; plus totalRules. A job with no rules returns an empty list. Use when: the user asks why a branch was not mapped, or what the mapper says at a prompt. 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": "listMappingPathRules"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesMapping-job identifier.

Output Schema

NameRequiredDescriptionDefault
jobIdYes
rulesYes
totalRulesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the required scope (mapping:read), the error behavior (404 if the job is not in your workspace), and the empty-state behavior (a job with no rules returns an empty list). It also explains the semantics of the state values (exclude = never explore, remap = map again next run), which the agent needs to interpret results.

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 verb and scope, and the operational facts (scope requirement, 404, empty list) come last where an agent looks for them. The mid-sentence enumeration of rule fields is dense and partly duplicates the output schema, which costs it a point but does aid interpretation.

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

Completeness5/5

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

For a single-parameter read tool with an output schema, annotations, and full schema coverage, nothing an agent needs is missing: scope, error case, empty case, and field meanings are all present. The field enumeration is redundant with the output schema but not harmful.

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

Parameters3/5

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

Schema coverage is 100% and there is only one parameter, so the schema already documents `id` as a UUID mapping-job identifier. The description reinforces that the id identifies exactly one job (not a list), but adds no format, default, or lookup guidance beyond that.

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?

States a specific verb and resource (list path rules) narrowed to a single mapping job identified by `id`, and defines what a rule is (overrides a person set on particular branches). The scope ('on one mapping job') cleanly separates it from collection-level siblings like listMappings or listMappingRuns.

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

Usage Guidelines4/5

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

Gives concrete triggering conditions: 'the user asks why a branch was not mapped, or what the mapper says at a prompt.' That is clear when-to-use guidance. It does not name an alternative tool or state when not to use it, so it stops short of full routing guidance.

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.