Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as mcptask.online. If you published it, claim ownership there.

GetAttachmentTool

Read-only

Attachment metadata and a signed download URL, valid for 15 minutes, for a piece attachment (avoids inlining binary content).

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": {
      "account_code": "<account_code>",
      "piece_relative_id": "<piece_relative_id>",
      "attachment_id": "<attachment_id>"
    },
    "name": "GetAttachmentTool"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_codeYesAccount code (e.g., "bcp", "jchsoft")
attachment_idYesDatabase ID (primary key) of the attachment (not relative_id)
piece_relative_idYesRelative ID of the piece the attachment belongs to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, and destructiveHint=false, so the safety profile is covered. The description adds a meaningful operational constraint: the signed URL is valid for 15 minutes. It does not describe permission requirements or metadata fields, but the added expiry detail is substantive.

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?

It is a single sentence, front-loaded with the return value and operational caveat. There is no redundant wording and every clause adds useful information.

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 simple read-only retrieval tool with fully documented parameters and safety annotations, the description covers purpose, output type, and URL lifetime. It does not enumerate the metadata fields returned, but no output schema exists and the tool remains callable with the provided information.

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 all three parameters and their distinctions are already documented, including attachment_id versus piece_relative_id. The description only contextualizes 'piece attachment' and adds no new parameter semantics.

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 identifies a specific resource (a piece attachment) and two concrete outputs (metadata and a signed download URL). It is clear about scope and why the tool exists (avoiding inline binary), though it does not explicitly contrast with siblings such as AddAttachmentTool or CreateUploadUrlTool.

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?

The parenthetical implies this is the retrieval path when an agent needs a link rather than inline binary, but there is no explicit when-to-use/when-not-to-use guidance or named alternative. Usage is inferable from the purpose and sibling names, not stated directly.

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