Skip to main content
Glama

hedwigai

A workbook's attached files

attachments
Destructive

The files attached to a workbook for its runs to read and cite. Lists them; add_name with add_content_base64 attaches one; remove takes one off.

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": {
      "workbook": "<workbook>"
    },
    "name": "attachments"
  }
}

Input Schema

NameRequiredDescriptionDefault
removeNoThe name of an attached file to take off.
add_nameNoThe name of a file to attach, e.g. 'Q3 board pack.pdf'.
workbookYesThe workbook id.
add_content_typeNoIts MIME type. Optional.
add_content_base64NoIts bytes, base64, no `data:` prefix.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered. The description adds meaningful context beyond that: files are inputs the workbook's runs will read and cite, `add_name` must be paired with `add_content_base64`, and `remove` detaches by name. It stops short of saying what happens on a name collision or whether removal is reversible, which would fully close the gap.

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?

Two short sentences, front-loaded with the resource definition before the per-mode verbs. Every clause carries information; there is no filler or repetition of the title.

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 five parameters, one required, and no output schema, the definition covers the purpose, the three modes, and the key parameter pairing. What listing returns (names only vs. metadata) is left implicit, which is a minor omission for a multiplexed read/write tool.

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

Parameters4/5

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

Schema coverage is 100%, so a baseline of 3 applies, but the description adds real meaning by declaring the coupling between `add_name` and `add_content_base64` — a relationship the schema does not express — and by framing what attached files are for. It does not clarify `add_content_type` optionality or `remove` name-matching behavior.

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?

The description names the resource ('files attached to a workbook for its runs to read and cite') and then enumerates all three modes with specific verbs: listing, attaching via `add_name` + `add_content_base64`, and removing via `remove`. An agent knows exactly what this tool operates on and what each mode does without opening the schema.

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

Usage Guidelines4/5

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

The description clearly implies the when-to-use rules for each mode: omit the add/remove parameters to list, supply `add_name` with `add_content_base64` to attach, supply `remove` to detach. It does not explicitly name a sibling alternative for uploading files (`upload`) or state exclusions, but the mode-selection guidance is unambiguous.

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.