Skip to main content
Glama

Travel Per Diem & Allowance Calculator

Search Per Diem Locations

search_per_diem_locations

Lists the locations with their own rate in a regime (us-gsa: current fiscal-year destinations), filtered by text, country or state. Use the returned country/city/state values in /rates and /trip.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoCase- and accent-insensitive text search over city, country, state, county and aliases
limitNoMaximum items to return
stateNoOnly this US state (us-gsa)
offsetNoItems to skip
regimeYesRegime to search
countryNoOnly this country (ISO alpha-2 or name)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYesMatching locations (after limit/offset)
totalYesNumber of matching locations before limit/offset
regimeYesRegime searched

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It does disclose that us-gsa is limited to current fiscal-year destinations and that results feed other tools, which is real behavioral context. However it is silent on pagination behavior (limit/offset), result ordering, and whether results are cached or rate-limited.

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?

Two sentences, front-loaded with the purpose and followed by the practical chaining tip; nothing is padded. The only friction is the '/' path notation, which slightly obscures the referenced tools.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 needn't explain return values, and full param coverage is handled by the schema. It covers purpose and chaining adequately, but leaves pagination semantics and result ordering unaddressed — minor gaps for a filtered list tool with six parameters.

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 all six parameters are already documented in the schema, establishing the baseline of 3. The description restates the filter dimensions (text, country, state) and adds the us-gsa fiscal-year nuance, but contributes no syntax or format detail beyond the schema.

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 names a specific verb and resource ('Lists the locations with their own rate in a regime') and scopes it to text/country/state filtering, which is more precise than the bare title. It does not however explicitly distinguish itself from siblings like get_per_diem_rates or list_per_diem_regimes beyond a parenthetical regime note.

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

Usage Guidelines3/5

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

It offers downstream guidance ('Use the returned country/city/state values in /rates and /trip'), which is useful chaining advice. But the referenced tools are written as paths ('/rates', '/trip') rather than by name, so the agent must infer which siblings they map to, and there is no statement of when NOT to use this tool versus get_per_diem_rates.

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