Skip to main content
Glama

On the Books

Ask the clerk

ask
Read-onlyIdempotent

Ask a plain-English question about one town's local law ("Can I keep chickens?", "How tall can my fence be?") and get a written answer cited to the chapter and section of the town's code. Takes 10–40 seconds. Signed in with a pass (or with a key), each answer counts as one of the pass's questions. Without, it returns the matching passages of the code instead of a written answer. 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": {
      "town": "<town>",
      "question": "<question>"
    },
    "name": "ask"
  }
}

Input Schema

NameRequiredDescriptionDefault
townYesThe town's id from find_town, e.g. "maplewood-nj".
questionYesThe question, with the facts that matter (property type, zone, what is being built or done).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description discloses latency (10-40 seconds), quota accounting (each answer consumes one pass question), and the degraded unauthenticated behavior. These are exactly the operational facts annotations cannot carry, and they are stated plainly.

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 output, then progressively narrows to latency, auth/quota, and fallback behavior. Tight overall, though the trailing 'Read-only.' sentence merely restates the annotation and could be cut.

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?

With only two required parameters and no output schema, the description covers everything an agent needs: what comes back in each mode, how long it takes, and what the call costs quota-wise. Nothing material is left for the agent to guess.

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 description coverage is 100%, so both parameters are already documented in the schema, and the description adds only a couple of illustrative question phrasings. It contributes almost no new parameter meaning (no guidance on question phrasing constraints beyond the schema's own hint).

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?

The description states a specific verb and resource ('Ask a plain-English question about one town's local law') and pins down the output shape (a written answer cited to chapter and section). It falls short of a 5 only because it never names the sibling tools it is not (search_code, compare), leaving the distinction implicit rather than explicit.

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?

It gives a clear operational rule: authenticated requests yield a written answer that consumes a pass question, while unauthenticated requests fall back to returning matching code passages. That is real when/how guidance, but it does not say when an agent should prefer this over search_code or compare for the same question.

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