Skip to main content
Glama

read_comments

Read-only

Fetches comments from a Targetprocess card as plain text, oldest first, including author and reply parent, so AI assistants can review discussion history.

Instructions

Comments on a card as plain text, oldest first, with author and reply parent.

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": {
      "id": "<id>"
    },
    "name": "read_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
limitNoDefault 200

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.2.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / properties / id / anyOf
      Removed value: -[
      -  {
      -    "maximum": 9007199254740991,
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  {
      -    "pattern": "^\\d+$",
      -    "type": "string"
      -  }
      -]
    • addedInput schema / properties / id / type
      Added value: +"number"
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum results (default 200, max 5000); capped results say truncated: true"New value: +"Default 200"
  2. First observedv1.0.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds genuinely useful behavior beyond that: plain-text rendering, oldest-first ordering, and inclusion of author and reply parent, which partially compensates for the absent output schema. It says nothing, however, about pagination behavior or what happens when a card has more comments than the default limit.

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?

A single tight sentence with the return characteristics front-loaded and no filler. It is slightly telegraphic — it reads as a fragment rather than 'Read comments on a card...' — but that costs nothing in comprehension.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only tool with one required parameter this covers the essentials, and the output-shape sentence does real work since no output schema exists. What is missing is any handling of volume: pagination semantics, what a truncated result looks like, and confirmation that id is a card ID.

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 50%: 'limit' is documented in the schema with its default of 200, but 'id' has no description at all. The description helps indirectly by saying comments are 'on a card', which lets the agent infer that id is a card identifier, but it never states this explicitly and never mentions limit or the 5000 ceiling.

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 definition names the resource (comments) and scope (on a card) and even specifies the output ordering and fields, so an agent knows exactly what comes back. It is a noun phrase without an explicit verb, and it does not name a sibling it must not be confused with, but the resource is distinct enough from read_card or read_attachments to be unambiguous.

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 only implied: because it returns the full comment thread for a card, an agent can infer this is the way to fetch comments rather than parsing them from read_card. There is no statement of when to prefer it, no exclusions, and no note on whether comments are paginated or truncated, leaving the agent to infer the calling context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.