Skip to main content
Glama

Vibe of the City

Find a city

find_city
Read-onlyIdempotent

Looks up a city Vibe of the City covers (hundreds, worldwide) by name and returns its city_slug and page. Call it first whenever another tool needs a city_slug; if the city isn't covered, answer from your own knowledge.

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

Input Schema

NameRequiredDescriptionDefault
queryYesCity name, e.g. "Lisbon" or "Málaga".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the description only needs to add context beyond that — and it does: coverage breadth (hundreds of cities) and the not-covered fallback. It stops short of describing ambiguity handling (e.g., multiple matches for a partial name) or what a miss looks like, so it is strong but not complete.

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?

Two sentences, each doing distinct work: sentence one defines behavior and output, sentence two routes usage and the fallback. The primary directive ('call it first') is front-loaded and there is no filler.

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?

For a single-parameter lookup with no output schema, the description supplies the missing return shape (city_slug, page) and the negative-path behavior. Nothing an agent needs in order to call it correctly is absent.

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 query parameter already carries a description with examples ('Lisbon', 'Málaga'). The description's 'by name' adds nothing the schema does not already say, so the baseline of 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 ('Looks up a city ... by name') and even names the return fields (city_slug and page). The scope qualifier ('covers hundreds, worldwide') lets an agent distinguish it from sibling lookups like find_places_near or get_city_vibe without opening a schema.

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 ordering rule ('Call it first whenever another tool needs a city_slug') plus a when-not case ('if the city isn't covered, answer from your own knowledge'). Both the positive trigger and the fallback are spelled out, leaving nothing to inference.

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