Skip to main content
Glama

List Task Documents

list_task_documents
Read-onlyIdempotent

Use this when working with RetailHardHat documents records in the connected organization. Read task document metadata. MCP approval requirements are configurable by the organization administrator; business workflow approvals always apply.

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": {
      "taskId": "<taskId>"
    },
    "name": "list_task_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
searchNo
taskIdYes

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds one genuinely useful behavioural note — that MCP approval requirements are org-configurable and business workflow approvals always apply — which warns the agent a call may be gated. It says nothing about ordering, pagination, or result shape.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Only the second sentence earns its place; the first is boilerplate that restates the tool domain, and the third is generic approval policy text. The actual purpose is buried mid-paragraph rather than front-loaded.

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 a rich annotation set, an output schema, and a conventional four-parameter surface, most of the calling contract is covered elsewhere. The remaining gap is scoping ambiguity against the many other list_*_documents siblings, which the description does not resolve.

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 carries none. It never mentions that taskId is required, nor what 'search' filters on or how limit/offset paginate.

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?

"Read task document metadata" gives a specific verb and resource, and the word "metadata" usefully separates it from read_task_document, which presumably returns content. However, the opening sentence ("Use this when working with RetailHardHat documents records in the connected organization") is generic filler, and the description never says it returns a list or how it differs from list_project_documents / list_site_documents.

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 only usage framing is the tautological "Use this when working with RetailHardHat documents records," which gives no condition, prerequisite, or alternative. An agent cannot tell from this text whether to call it or read_task_document / list_project_documents for a given need.

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