Skip to main content
Glama

Vibe of the City

Log or recommend an activity

recommend_activity
Idempotent

Logs an activity the user did on a trip — a tour, a tasting, a class, a boat trip, often a GetYourGuide or Viator link — with their verdict, and with publish true recommends it on the trip city's Things to do. An activity is not a place: it needs no pin and never has to be added as one. Pass idea_id when it is already on the plan (from get_trip), else text and url to add it. Ask how it was first; publish only when they say so. A published recommendation shows the activity, the link and their tip to everyone once we have reviewed it; their name only to their contacts.

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": {
      "trip_id": "<trip_id>",
      "verdict": "<verdict>"
    },
    "name": "recommend_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
tipNoTheir one line for the next person, in their words. Public once reviewed.
urlNoThe page it was booked or found on, https.
dateNoThe day they did it, within the trip's dates.
textNoWhat it was, e.g. "Chocolate tasting tour". Required without idea_id.
idea_idNoThe item on the plan, from get_trip. Leave out to add a new one.
publishNoRecommend it on the city's Things to do. Only with would_do_again or once_was_enough, and only when the user said yes. false withdraws an earlier recommendation.
trip_idYesFrom list_my_trips.
verdictYesHow it was, in the user's words.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations it discloses the downstream consequences of publishing: review before going live, visibility to everyone, attribution of the user's name only to their contacts, and the withdrawal behavior of publish=false. It also clarifies that activities never create a pinned place, which is a real side-effect distinction an agent would otherwise have to guess.

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?

Front-loaded with the action and the payoff, and nearly every clause carries information. The em-dash-heavy single paragraph runs long and mixes purpose, parameter routing, and disclosure policy into one block, which costs a bit of scannability.

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 an 8-parameter write tool with no output schema, the description covers what it does, which inputs select which mode, who sees the result and under what review, and what false does. An agent has everything needed to call it correctly and to explain the consequences to a user.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, and the description earns a bump by explaining the mutual-exclusivity logic between idea_id and text/url (and their source, get_trip). It adds little beyond the schema for tip, date, url, and verdict, but the publish/verdict coupling is reinforced in prose.

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?

Opens with a specific verb+resource ("Logs an activity the user did on a trip") and backs it with concrete examples ("a tour, a tasting, a class, a boat trip, often a GetYourGuide or Viator link"), then names the second effect ("with publish true recommends it on the trip city's Things to do"). It also draws an explicit boundary against the place-oriented siblings: "An activity is not a place: it needs no pin and never has to be added as one."

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 a concrete routing rule for the two entry paths: "Pass idea_id when it is already on the plan (from get_trip), else text and url to add it." It also states the sequencing constraint "Ask how it was first; publish only when they say so," which tells the agent not to treat publish as a default. The negative disambiguation against place-adding tools removes the most likely miscall.

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