Skip to main content
Glama

List cities

tf_list_cities
Read-onlyIdempotent

Lists Tapsi Food cities with a center point and delivery availability, letting you filter by Persian title or English code and use the center as a rough delivery point for city-only queries.

Instructions

List the cities Tapsi Food shows, with a center point and whether it delivers there.

Use the center as a rough delivery point when the user only names a city. Static snapshot.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "tf_list_cities"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoFilter on Persian title or English code, e.g. 'شیراز'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, openWorld), so the description's contribution is the "static snapshot" note, which warns the agent that delivery availability may be stale and is not a live check. It also pre-announces the return shape (city, center, delivers-here), which annotations cannot convey. Not a 5 only because it says nothing about result size, paging, or ordering.

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 plus a short fragment, front-loaded with the core purpose and the highest-value caveat last. The trailing "Static snapshot." is terse but earns its place as a freshness warning; the fragment style is slightly clipped but not wasteful.

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 single-optional-parameter lookup with no output schema, the definition covers purpose, one usage scenario, the returned fields, and freshness. What remains missing is only marginal: result ordering/limits and how the query string is matched.

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%: the single query parameter is documented with its filtering behavior and a Persian-script example. The description adds no additional meaning about matching rules (substring vs prefix, case, English code handling), so the baseline of 3 is appropriate.

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?

"List the cities Tapsi Food shows" gives a specific verb and resource, and the second clause discloses what each entry carries (a center point and a delivery flag). It does not explicitly contrast with sibling lookup tools such as tf_find_location or tf_reverse_geocode, so differentiation is implied rather than stated.

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 the center as a rough delivery point when the user only names a city" supplies a concrete usage scenario, which is more than nothing. However, it never says when not to use this tool or names the alternative (e.g. precise geocoding) for callers who need an exact address, leaving the routing decision to inference.

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