Skip to main content
Glama

Find a city for a job shortlist

resolve_shortlist_location
Read-onlyIdempotent

Resolve an explicitly supplied U.S. city/state for approximate distance search. Return it for review; never guess or substitute a state capital. Lookup, not autocomplete.

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_shortlist_location"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes

Output Schema

NameRequiredDescriptionDefault
noteYes
statusYes
locationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), so the bar is lower; the description still adds real behavior — it returns the resolution for review rather than silently committing, and it refuses to guess or swap in a state capital. It does not discuss failure behavior for unresolvable input, but the output schema is present to handle the return shape.

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 short sentences, front-loaded with the core action, then the constraint, then the disambiguation. No filler; every clause adds information.

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 lookup with rich annotations and an output schema, this covers what the agent needs: what to pass, what not to infer, and what the tool is for. Only the unresolved-input path is left implicit.

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 coverage is 0% on a single 'query' string, so the description must carry the load. It does specify the expected content — an explicitly supplied U.S. city/state used for approximate distance search — which is meaningfully more than the bare minLength/maxLength constraints, though it stops short of a format example such as 'City, ST'.

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

Purpose4/5

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

Names a specific verb and resource: resolve an explicitly supplied U.S. city/state for approximate distance search. The 'lookup, not autocomplete' line sharpens the distinction, though it doesn't name an actual sibling tool, so sibling differentiation is by behavior rather than by name.

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?

Clear context: use it when the city/state was explicitly supplied by the user, and never guess or substitute a state capital. The 'lookup, not autocomplete' framing tells the agent not to use it for fuzzy/partial input, though no named alternative is offered for that case.

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.

Resources