Skip to main content
Glama

update_chain_metadata

DestructiveIdempotent

Update chain metadata like vision, entity, capacity role, and notes to keep project context current across AI coding sessions.

Instructions

General metadata updates: vision, entity, capacity_role, notes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

C2.5/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the bar is lower, but the description adds nothing beyond the field list. It does not say that updates overwrite existing metadata, whether omitted/null fields are left unchanged or cleared, that 'note' appends rather than replaces, or whether authorization is required for a destructive write.

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?

It is a single short, front-loaded fragment with no filler, but it is under-specified rather than genuinely concise. The brevity comes at the cost of the routing and behavior information an agent needs.

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?

For a destructive mutation tool with heavy sibling overlap, the description is missing critical context: which sibling to prefer, how null/omitted fields behave, and what the destructive write actually changes. An output schema exists, so return values need not be explained, but the remaining gaps are significant.

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 coverage is reported at 0%, so the description carries weight, and its field list (vision, entity, capacity_role, notes) does map onto completion_vision, entity, capacity_role, and note. It omits the required chain_id entirely and says nothing about the null/default semantics of each field, so it only partially compensates for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb-plus-resource ('metadata updates') and enumerates the fields affected (vision, entity, capacity_role, notes), so the basic purpose is clear. However, it does not distinguish this tool from siblings that touch the same fields, notably set_chain_entity and rename_chain, leaving the agent to guess which entry point to use.

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?

There is no guidance on when to use this tool versus set_chain_entity, rename_chain, or set_chain_status, which all mutate overlapping chain attributes. No prerequisites, no indication of what happens if a field is omitted, and no exclusions are stated.

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