Skip to main content
Glama

On the Books

Find a town

find_town
Read-onlyIdempotent

Look up a US town, city, village, borough, township or county in the On the Books library of local codes (9,700+ municipalities, all 50 states) and get its id for the other tools. No key needed. Read-only.

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

Input Schema

NameRequiredDescriptionDefault
nameYesThe place name, e.g. "Maplewood" or "Austin, TX".
stateNoOptional state, as a two-letter code or full name, to narrow same-named towns.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered and the description's "Read-only. No key needed" mostly restates it. The genuinely additive facts are library scope (9,700+ municipalities, all 50 states) and that the output is an id. It says nothing about behavior on zero matches or multiple matches, which is the main behavioral unknown for a fuzzy name lookup.

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?

A single front-loaded sentence with the verb, resource, and return value in the right order, followed by two clipped supporting facts. Slightly redundant to repeat "Read-only" when annotations already assert readOnlyHint, and the municipality count is close to marketing filler.

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 lookup with full schema coverage and no output schema, the description covers what the tool does, what it returns (an id), and its coverage scope. The only real gap is expected behavior for ambiguous or failed name matches, which an agent would need in practice.

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%, with both `name` and `state` documented in-schema, including the disambiguation intent of `state`. The description adds no format guidance beyond that, so the baseline 3 applies — the schema does the work here.

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?

The description uses a specific verb ("Look up") and a precisely bounded resource (US town, city, village, borough, township or county in the On the Books local-codes library) and states the outcome: retrieving the id used by the other tools. That return-value framing separates it cleanly from the listed siblings (ask, compare, search_code), none of which are lookups.

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?

"Get its id for the other tools" gives a clear trigger: call this first when you need a municipality identifier before using downstream tools. It does not explicitly state when not to use it or name a sibling alternative, but the sibling set contains no competing lookup, so the omission is low-cost.

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