Skip to main content
Glama

AddAttachmentTool

Upload a file attachment directly to an existing task/story/piece

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_nameNoFilename with extension (required when using file_content, e.g., "report.pdf")
file_pathNoAbsolute path to file to attach (server-local files only)
account_codeYesAccount code (e.g., "bcp", "jchsoft")
file_contentNoBase64-encoded file content (use this for remote MCP clients)
piece_relative_idYesRelative ID of the piece to attach file to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It indicates a mutation operation ('Upload'), but doesn't cover whether this requires specific permissions, file size limits, allowed file types, overwrite behavior, or what the response contains. For an upload tool with no annotations and no output schema, this is a significant gap.

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?

The description is a single, efficient sentence with no wasted words. It is front-loaded with the primary action and resource. However, it could be slightly more structured by separating key constraints or usage notes if they were included.

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

Completeness2/5

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

For a tool with 5 parameters, no annotations, and no output schema, the description is inadequate. It does not explain the return behavior, error conditions, permission requirements, or file handling specifics. While the schema covers parameter details well, the description leaves many operational questions unanswered.

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 the baseline is 3. The schema already fully documents all five parameters including their types, required status, and usage notes (e.g., 'required when using file_content'). The description adds no parameter information beyond what the schema provides.

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 states a specific verb and resource: 'Upload a file attachment directly to an existing task/story/piece.' This is clear and distinguishes it from sibling tools like GetAttachmentTool (retrieval) and AddMessageTool (messages). It stops short of 5 only because it doesn't explicitly name the alternative tool for attaching via other means or reference siblings by name.

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?

There is no explicit guidance on when to use this tool versus alternatives. The description mentions 'directly' and 'existing' which implies usage context, but doesn't specify prerequisites such as whether the piece must already exist or which attachment method to choose. With multiple attachment-related methods in the schema (file_path, file_content), the description could clarify usage scenarios but doesn't.

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