Skip to main content
Glama

getPostComments

Read-only

List the comments of one feed post by postId. Get postId from getPosts. Never invent UUIDs; only use values from prior tool responses.

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": {
      "postId": "<postId>"
    },
    "name": "getPostComments"
  }
}

Input Schema

NameRequiredDescriptionDefault
postIdYesThe id of the feed post.

Output Schema

NameRequiredDescriptionDefault
commentsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / comments / items / properties / membership / properties / user / properties / type
      Added value: +{
      +  "description": "Whether the user is a person or an AI agent.",
      +  "enum": [
      +    "user",
      +    "agent"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / comments / items / properties / membership / properties / user / required
      Previous value: -[
      -  "id"
      -]New value: +[
      +  "id",
      +  "type"
      +]
  2. 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 readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered by structured data and the description correctly adds nothing that conflicts. What it does contribute is the provenance constraint on postId, which is genuine behavioral guidance not expressible in the schema. It says nothing about result volume, ordering, or whether listing is paginated, which are the remaining behavioral unknowns for a list operation.

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?

Three short sentences, each with a distinct job: state the operation, name the source of the id, forbid fabrication. The identification of the resource is front-loaded before the operational constraints. Nothing is redundant and there is no filler.

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?

For a single-parameter read with an output schema, an explicit read-only annotation set, and a closed-world hint, the description covers everything needed to select the tool and supply a valid argument. The output schema carries return-value detail, so omitting that is correct. The one omission is whether the comment list is paginated or bounded, which matters for a listing call.

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 postId shape, uuid format, and pattern are already fully documented, and that alone would justify a baseline 3. The description earns above baseline by telling the agent where the value must come from (getPosts) and warning against inventing UUIDs, which is semantics the schema cannot express. It adds no meaning about what postId refers to beyond the sibling pointer.

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 opens with a specific verb and resource: "List the comments of one feed post by postId." That clearly separates it from getPost (the post itself), getPostLikes, and createPostComment, so an agent knows exactly what entity is returned. It stops short of naming those siblings explicitly, which is the only thing keeping it from a 5.

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 usable routing guidance by telling the agent to obtain postId from getPosts, which is effectively a prerequisite step in the workflow. It also supplies a firm exclusion – never fabricate UUIDs, only reuse values from prior tool responses. It does not cover when this tool should not be used, but the context it provides is concrete and actionable.

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