Skip to main content
Glama

Vibe of the City

Why a city fits me

explain_city_match
Read-onlyIdempotent

How a city fits the user's travel vibe, and why: the match label, where what they value meets what the city delivers, where it falls short, what it offers beyond their priorities, and classic places that prove each point. Use it for "why does Lisbon suit me?" or "why not Ibiza?"; compare two cities by calling it for each. Say the match label in words; give a percent only when match_percent is not null.

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": {
      "city_slug": "<city_slug>"
    },
    "name": "explain_city_match"
  }
}

Input Schema

NameRequiredDescriptionDefault
city_slugYesFrom find_city.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

The annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds useful output-handling rules (state the match label in words; only give a percent when match_percent is not null), which is genuine value beyond the annotations. It still says nothing about response length, depth, or how it handles a slug that exists but lacks vibe data.

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?

The explanation is front-loaded: what the tool returns, then the list of components, then usage triggers, then output-formatting rules. The colon-list sentence is information-dense but every clause earns its place; only mild cost is the density of the second sentence.

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?

There's no output schema, so describing the returned content is on the description, and it does that well by naming the match label, alignment, gaps, extras, and proof places. The remaining gap is edge behavior (invalid or vibe-less city, output size), which for a read-only one-parameter tool is minor but not zero.

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 city_slug parameter already carries its own description ('From find_city'), so the schema does the work. The description adds no additional meaning about the slug format or provenance beyond the schema, which matches the baseline 3 for a fully documented single-parameter schema.

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?

The description names the exact resource (a city's fit against the user's travel vibe) and enumerates the output components: match label, where values align, where the city falls short, extras beyond priorities, and classic places proving each point. That specificity clearly separates it from get_city_vibe or get_city_week, which return the vibe itself rather than an explanation of fit.

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

Usage Guidelines4/5

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

It gives explicit trigger phrasings ('why does Lisbon suit me?', 'why not Ibiza?') and a concrete comparison workaround: call it once per city. What's missing is a when-not clause or a pointer to a distinct alternative such as compare_city_vibes for side-by-side comparison, so the agent must still infer the boundary.

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