Skip to main content
Glama

document_attach_resources

Attach/detach glossaries + style-guide versions ([] = detach all of that kind).

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": {
      "document_id": "<document_id>"
    },
    "name": "document_attach_resources"
  }
}

Input Schema

NameRequiredDescriptionDefault
document_idYes
glossary_idsNo
styleguide_version_idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of describing behavior. It helpfully discloses that an empty array detaches all resources of that kind, but it does not say whether a non-empty array replaces the existing set or appends to it, whether detaching changes rendered content, or what permissions are required for this mutation.

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?

The single sentence is front-loaded and free of filler, with the detach shorthand parenthesized efficiently. However, its brevity leaves critical semantics unexplained, so it is undersized for a three-parameter mutation tool.

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?

There are no annotations, no output schema, and no parameter descriptions, so everything the caller needs must come from the description, which covers only one edge case. The replace-versus-append behavior, error conditions, and return effects are all missing.

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?

With 0% schema description coverage across three parameters, the description must carry the load: it clarifies the empty-array case for glossary_ids and styleguide_version_ids. However, it leaves the primary semantic question unanswered: whether a non-empty list is a full replacement or an incremental add. document_id is never mentioned, though it is self-evident from the name.

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 gives specific verbs (attach/detach) and resources (glossaries, style-guide versions), which distinguishes it from sibling tools like document_update or glossary_create. It omits the object being attached to, but the tool name and required document_id make that implicit.

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 gives no guidance on when to use this tool versus alternatives such as document_update or the glossary tools, and it states no prerequisites, such as whether the glossary or style-guide versions must already exist. Only the detach shorthand implies a usage condition.

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