Skip to main content
Glama

ERP: List comments

erp_list_comments
Read-only

The discussion on one assignment, newest first. Authors are resolved to names from the company roster — the ERP stores only an id on a comment, so an unknown author reads as unknown rather than as a raw identifier.

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": {
      "assignment_id": "<assignment_id>"
    },
    "name": "erp_list_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
assignment_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/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 openWorldHint=false, so the safety profile is covered. The description goes beyond that with two genuinely non-obvious behavioral facts: results come back newest first, and author ids are resolved against the company roster with unknown ids surfacing as "unknown" rather than raw identifiers. It omits pagination default and total-count behavior.

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?

Two sentences with the scope and sort order front-loaded; the em-dash aside on author resolution is information-dense rather than filler. Slightly indirect opening (a noun phrase instead of a verb) keeps it from a 5.

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?

With no output schema and zero parameter descriptions, the definition should say more than it does. The author-resolution note usefully explains a surprising return-value behavior, but the complete silence on the limit parameter and on whether additional pages exist leaves an agent guessing at a two-parameter tool.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry parameter meaning and it largely does not. It implies assignment_id scoping through "one assignment" but says nothing about the limit parameter's purpose, default, or its 1-100 bounds, leaving half the parameters unexplained anywhere.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"The discussion on one assignment, newest first" identifies the resource (comments) and its scope (a single assignment), plus sort order, but it is a noun phrase with no verb, so an agent must infer that this is a read/list operation. It also never distinguishes itself from erp_comment_assignment, which is presumably the write counterpart to the same resource.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage by naming the scope (one assignment) but gives no explicit when-to-use, when-not-to-use, or alternative tool. An agent wanting assignment detail versus its comment thread gets no routing guidance, and no prerequisites are stated.

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