Skip to main content
Glama
Prime MCP Server

Prime MCP Server

by MikahDev

prime_update_attachment

Update attachment metadata such as title, description, notes, and type; provide the current version to prevent write conflicts via optimistic locking.

Instructions

Update attachment metadata. Requires version for optimistic locking.

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": {
      "attachment_id": "<attachment_id>",
      "version": "<version>"
    },
    "name": "prime_update_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo
titleNo
versionYesCurrent version for optimistic locking
descriptionNo
attachment_idYesThe attachment ID to update
attachment_type_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/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 explaining behavior. It does disclose one important trait: optimistic locking via the version parameter. However, it does not explain what happens on a version conflict, whether partial updates leave omitted fields unchanged, what permissions are required, or whether changes are reversible.

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 two short, front-loaded sentences with no filler. The second sentence partly duplicates the schema's version description, so it is not perfectly economical, but it is well structured.

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?

This is a mutation tool with no annotations, no output schema, and only one-third of its parameters documented in the schema. A two-sentence description cannot cover that gap, because it says nothing about partial-update semantics, failure behavior, or the four undocumented fields.

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 only 33%, leaving title, notes, description, and attachment_type_id undocumented. The description's note about the version requirement merely restates the schema's own version description, and it never clarifies that only the supplied metadata fields are changed.

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 uses a specific verb and resource: 'Update attachment metadata'. That clearly distinguishes it from prime_create_attachment and prime_get_attachment, which operate on the same resource. It does not name those siblings, but the verb alone makes the distinction obvious.

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 instead of prime_create_attachment or prime_get_attachment, and no prerequisites or exclusions. The only usable cue is the word 'Update', so the agent has to infer the context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools