Skip to main content
Glama

resolve_id

Read-only

Resolve a loose reference (partial id, display_id, slug fragment, or title keyword) to canonical pattern_id(s). Case, separator and G/I prefix are normalised (d2.1, D2-1, 'D2 1', G1.2); a hyphen or space returns both the numbered requirement and its underlined variant. Call this when you have a rough reference and need the exact id before calling get_requirement. Always returns candidates — never 'not found'.

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": {
      "query": "<query>"
    },
    "name": "resolve_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already state readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavior: case/separator/prefix normalization with concrete examples, the hyphen-or-space dual-return rule, and the guarantee that it "never" reports not-found. It stops short of saying how candidates are ranked or what a candidate record contains.

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

Conciseness5/5

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

Three tight sentences, front-loaded with what gets resolved, then the normalization edge cases, then the calling condition. Nothing repeats the schema or annotations and no sentence is padding.

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 two-parameter read-only resolver with no output schema, the description covers input forms, edge-case behavior, and the calling workflow adequately. The remaining gap is the return value — "always returns candidates" without saying their shape, ranking, or how limit affects them — which matters precisely because no output schema exists.

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?

Schema description coverage is 0%, so the description has to carry the query semantics, and it does — enumerating accepted reference forms and normalization rules with worked examples. The limit parameter (default 5, max 20) is never mentioned, so an agent cannot tell from the description that it caps the candidate list.

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 (resolve) and the exact input class (partial id, display_id, slug fragment, title keyword) plus the output (canonical pattern_id(s)). This clearly distinguishes it from get_requirement, which needs an exact id, and from the search_patterns family, which looks patterns up rather than resolving references.

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?

Explicitly says when to use it: "Call this when you have a rough reference and need the exact id before calling get_requirement" — a clear trigger and a named downstream tool. It does not say when NOT to use it or compare against candidate alternatives like search_patterns or find_patterns_for_task, which is the only missing 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.