Skip to main content
Glama

Vibe of the City

Vibe scores side by side

compare_city_vibes
Read-onlyIdempotent

The user's vibe score (0–100, the number Explore shows) for one to five cities over a time window — today, tomorrow, the weekend, this week, this month, or the year — and, when the user names friends, each friend's score and the group's (the mean pulled towards the lowest, so a city one of them would endure does not win). Use it for "what's the vibe score for Lisbon and Porto this week?" or "which city suits me, Anna and Tom best this month?". Friends must be the user's mutual contacts; any other name comes back under not_compared, and you say you can compare only with mutual contacts. A friend's score never comes with a reason: say how well a city fits them, never why. A null score is too little to go on: say so instead of a number.

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_slugs": "<city_slugs>"
    },
    "name": "compare_city_vibes"
  }
}

Input Schema

NameRequiredDescriptionDefault
whenNoThe window. Default "week" (the next seven days); "year" is the city's fit across the year.
withNoUp to three friends by name or @handle, comma-separated, e.g. "Anna, @tomk". Leave it out for the user alone.
city_slugsYesOne to five city_slugs from find_city, comma-separated, e.g. "lisbon-pt,porto-pt".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare this a read-only, idempotent, non-destructive, closed-world call, so the safety profile is covered. The description does add real behavioral context beyond that — the 0–100 scale matching Explore, the group score being a mean pulled toward the lowest member, and non-mutual names landing in not_compared — but never states the response shape or whether friend scores cost extra calls or appear only when requested.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core capability is front-loaded, but the opening sentence is a long run-on with nested parentheticals that is harder to parse than it needs to be. The trailing sentences about never explaining a friend's score and how to report nulls earn their place for output phrasing, but push the definition past the brief that a selection-focused tool needs.

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?

With no output schema, the description carries the burden of return semantics and does so substantially: score range, group-aggregation logic, the not_compared bucket, and null-means-too-little. That is close to complete for a three-parameter read tool, with only the concrete response structure left unspecified.

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 three parameters (including the full when enum and the default of "week") are already documented in the schema, which sets the baseline at 3. The description does add one thing the schema does not: that the optional friend parameter changes the output to include per-friend scores and a group score, and that a null score means insufficient data.

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 concrete resource and scope: vibe scores (0–100, the same number Explore shows) for one to five cities across a named time window, optionally extended to friends and a group score. Concrete example utterances ("what's the vibe score for Lisbon and Porto this week?") make the multi-city comparison purpose unmistakable, though it never explicitly contrasts itself with single-city siblings like get_city_vibe or get_my_vibe.

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?

Usage context is clear and reinforced by two realistic user phrasings, plus a hard precondition (friends must be mutual contacts) and the required follow-up when they are not. It explains the when-not case for non-mutual names but gives no explicit alternative-tool routing, so the agent must infer that single-city questions belong elsewhere.

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