Skip to main content
Glama

AssetLab

Update project document

update_project_document
DestructiveIdempotent

Update a project document by ID. Requires project_documents:write scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesProject document ID
nameNoDocument name
file_pathNoStorage path
file_sizeNoFile size in bytes
file_typeNoMIME type
folder_idNoFolder ID
project_idNoProject ID
descriptionNoDescription
uploaded_byNoUploader user ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The description adds one genuinely useful behavioral fact beyond the annotations: the required project_documents:write scope. However, it does not clarify what 'destructive' means here (field removal vs. replacement) or the idempotency semantics, even though annotations already declare destructiveHint=true and idempotentHint=true. With annotations covering the safety profile, a 3 is appropriate.

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?

Two short, front-loaded sentences with no wasted words. The first sentence is partly redundant with the title, which keeps it just short of ideal.

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

Completeness3/5

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

For a 9-parameter mutation tool with no output schema, the description is thin: it omits what success returns and how partial updates behave. The complete schema and rich annotations compensate enough to make it minimally adequate, but not more.

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% and every one of the 9 parameters is documented in the schema, so the structured data does the heavy lifting. The description's 'by ID' only echoes the required id parameter and adds no meaning about the other writable fields.

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?

States a specific verb (Update) and resource (project document) plus the keying mechanism (by ID), so the agent knows exactly what the tool operates on. It does not explicitly differentiate itself from the many sibling update_* tools, but the name/resource pairing is unambiguous.

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 offers no when-to-use guidance, no alternatives (e.g., create/delete project document), and no conditions beyond the scope requirement. The scope note is a prerequisite, not usage guidance, so an agent gets no help choosing this over siblings.

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