Skip to main content
Glama

Find bus cities

bus_cities
Read-onlyIdempotent

Find exact Iranian bus ticket city names, codes, and provinces from partial Persian or English queries, so you can enter a city correctly when searching trips.

Instructions

Look up cities (name, code, province) that tickets can be bought for; use it to spell a city exactly.

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": "bus_cities"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesPart of a city name, Persian or English, e.g. اصف, shir.
providerNoall, or one ticket site.all

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds a genuine scope constraint — only cities for which tickets can be bought are returned — but says nothing about match behavior (prefix vs substring) or result-set size, which matter for a lookup tool.

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?

A single dense sentence with the resource and returned fields front-loaded and the intended use appended. No filler wording to remove.

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 read-only lookup with annotations covering safety and no output schema, the description supplies both purpose and the returned field list. The only gaps are match/pagination behavior, which are minor for this complexity.

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 (query fragment, provider enum) are already documented with examples in the schema. The description adds nothing about the query semantics or what "provider: all" versus "safar724" actually changes, so baseline 3 applies.

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 ("Look up cities") and even lists what comes back (name, code, province), so the agent knows exactly what it produces. It stops short of naming or contrasting any sibling (bus_search, bus_terminals, etc.), leaving differentiation to context.

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?

"use it to spell a city exactly" implies the canonical workflow: resolve a city name before calling a search tool. That is real implied guidance, but there is no explicit when-not case, no statement of what to do with the returned code, and no named alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.