Skip to main content
Glama

Get the comments

get_comments
Read-only

What people on the trip have said about its activities and wishlist pins, oldest first, each with who said it (a person’s id, from get_trip; null for someone no longer on it). A surprise kept from the user has none.

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": {
      "tripId": "<tripId>"
    },
    "name": "get_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
tripIdYesThe trip’s id, from list_trips

Output Schema

NameRequiredDescriptionDefault
commentsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and a closed-world scope, so the safety profile is covered. The description adds genuinely non-obvious behavior: results are ordered oldest first, each comment carries an author id (null for people no longer on the trip), and comments kept as a surprise from the user are omitted entirely — a filtering rule found nowhere in the schema.

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?

Compact and front-loaded — the resource and ordering come first, with attribution and the surprise-exclusion caveat trailing as parenthetical detail. The final clause 'A surprise kept from the user has none' is slightly elliptical and costs a re-read, but the whole thing is two sentences with little waste.

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 an output schema present, return values need not be spelled out, and annotations carry the read-only safety profile. The description still adds the ordering, author-attribution semantics and hidden-comment rule, leaving little an agent would need before calling it.

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 tripId parameter is documented as coming from list_trips. The description reinforces the trip context and cross-references get_trip for author ids, but adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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?

Describes a specific resource and scope: comments on a trip's activities and wishlist pins, returned oldest first. An agent can distinguish it from write siblings like add_comment and from get_wishlist/get_lists, though it never states the verb 'returns' explicitly and relies on content description to convey the action.

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?

Usage is implied by the content described (read existing trip comments), but there is no explicit when-to-use, no exclusion of alternatives such as get_trip or get_wishlist, and no mention of when an agent should prefer add_comment instead of reading.

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