Skip to main content
Glama

Get one public toilet

get_toilet
Read-onlyIdempotent

Use this when the user asks about one toilet from an earlier answer: hours, access rule, fee, last confirmation. Needs the id from find_toilets_near. The provenance field says how many people confirm each fact, or which source it comes from.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesToilet id from find_toilets_near.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new context by naming the fact categories returned and explaining that provenance encodes confirmation counts or source attribution, which is behavioral detail the annotations cannot carry.

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?

Three front-loaded sentences: trigger first, prerequisite second, return semantics third. Efficient with almost no waste, though the provenance sentence could be trimmed slightly.

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?

With an output schema present the description need not detail return shapes, and it still adds the one non-obvious interpretive cue (provenance meaning). Nothing an agent needs to call it correctly is missing, though error behavior for a stale or invalid id is unaddressed.

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 the single id parameter is already documented in the schema as 'Toilet id from find_toilets_near'. The description restates the same dependency without adding format, pattern, or fallback guidance, so the baseline 3 applies.

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 (get one toilet) and immediately scopes it to a single record retrieved from an earlier answer, which cleanly separates it from the plural sibling find_toilets_near. The enumerated fields (hours, access rule, fee, last confirmation) sharpen what 'one toilet' means.

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

Usage Guidelines5/5

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

Gives an explicit trigger ('when the user asks about one toilet from an earlier answer') and names the upstream source of the required id ('the id from find_toilets_near'), routing the agent through the sibling rather than leaving the dependency implicit.

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.