Skip to main content
Glama

Update Spec

update_spec

Updates an existing SystemDox spec's proposal, tasks, or requirements; only draft specs can be modified, so version published specs before editing.

Instructions

Update an existing SystemDox spec's proposal, tasks, or requirements. Only draft specs can be modified — published specs must be versioned first.

Input Schema

NameRequiredDescriptionDefault
contentYesNew markdown content for the section. For requirements, provide the full requirement content.
sectionYesWhich section to update
draft_idYesID of the spec to update
requirement_nameNoName of the requirement (required when section is 'requirements')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations only declare readOnlyHint=false, so the description usefully adds the draft-only precondition. However, it does not state that existing section content is overwritten, whether changes are reversible, or what permissions are required for a write operation.

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 sentences, front-loaded with the action and immediately followed by the critical draft-only constraint. No redundant or filler wording.

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?

For a four-parameter mutation tool with no output schema and full schema coverage, the definition covers the key eligibility constraint. It could say more about the overwrite semantics and expected response, but nothing essential to invoking it is missing.

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 the baseline is 3; the description adds some value by listing the section values (proposal, tasks, requirements) in prose. It does not clarify the conditional requirement_name parameter, but the schema already documents that dependency.

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 and resource ("Update an existing SystemDox spec") and names the editable sections (proposal, tasks, requirements). It does not explicitly differentiate from siblings like get_specs, but the mutating verb makes its role distinct.

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?

Gives a clear when-not condition: only draft specs can be modified, and published specs must be versioned first. It stops short of naming the exact tool or workflow for versioning a published spec.

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