Skip to main content
Glama

Get comments

get_comments
Read-only

List comments on an asset or folder. Specify entity_type as 'asset' or 'folder' and provide the token. Rows from list_assets and the search tools always carry comment_count, even with fields: when going through many assets, call this only for those above 0.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-indexed)
tokenYesAsset or folder token
entity_typeYesType of entity: 'asset' or 'folder'
organizationNoWorkspace slug, as returned by list_organizations. Omit it when the account has a single workspace — it is then resolved from your token. Pass it only when the account has several, or when you mean a workspace other than the obvious one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / entity_type / description
      Previous value: -"Type of entity: 'asset' or 'board'"New value: +"Type of entity: 'asset' or 'folder'"
    • changedInput schema / properties / entity_type / enum
      Previous value: -[
      -  "asset",
      -  "board"
      -]New value: +[
      +  "asset",
      +  "folder"
      +]
    • changedInput schema / properties / token / description
      Previous value: -"Asset or board token"New value: +"Asset or folder token"
  2. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / page / maximum
      Added value: +9007199254740991
  3. Changed3 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / context
      Removed value: -{
      -  "description": "Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): \"Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization.\"",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "entity_type",
      -  "token",
      -  "context"
      -]New value: +[
      +  "entity_type",
      +  "token"
      +]
  4. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly=true, destructive=false, openWorld=false), and the description adds behavior they cannot express: comment_count is returned by the list and search tools regardless of the fields parameter. It does not disclose pagination behavior or the shape of a returned comment, which keeps it short of a 5.

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 sentences, front-loaded with the action, then the required inputs, then the efficiency rule. No filler and no restatement of the title.

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?

There is no output schema, so the description is the only place a reader learns what a comment row contains, and it never says. It also omits that the page parameter implies a paged, partial result set. For a small tool that is a real but moderate gap.

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 token, entity_type, page, and organization are all documented in structured fields. The description restates the entity_type values and the token requirement without adding syntax or constraints beyond the schema, so baseline 3 applies.

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?

States a specific verb and resource ('List comments') and immediately scopes it to the two entity kinds ('an asset or folder'), naming the exact values for entity_type. Read intent is unambiguous, so it separates cleanly from the sibling create_comment.

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 an explicit call condition tied to a concrete signal: comment_count is always present on rows from list_assets and the search tools, so 'call this only for those above 0' tells the agent exactly when to invoke it and, implicitly, when to skip it while iterating over many assets.

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