Skip to main content
Glama

Update instruction

update_instruction
Destructive

Rename an instruction document or rewrite its text whole. Only supplied fields change; content replaces the entire text, and an empty string clears it. Earlier text stays in the document's revision history. Read current text with get, kind instruction, first. During an active workflow run, instruction changes are accepted only in its self-improvement stage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesId of the Instruction.
titleNoNew title.
contentNoFull replacement text, with lists instead of tables; an empty string clears it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / content / description
      Previous value: -"Full replacement text; an empty string clears it."New value: +"Full replacement text, with lists instead of tables; an empty string clears it."
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well past the annotations by disclosing that only supplied fields change, that content wholesale replaces the text, that an empty string clears it, that prior text survives in revision history, and that workflow runs gate edits to a specific stage. This is exactly the destructive-mutation context an agent needs.

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?

Four tight sentences, each carrying distinct information, with the rename/rewrite purpose front-loaded and no filler.

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

Completeness5/5

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

For a 3-parameter mutation tool with no output schema, it covers purpose, mutation semantics, prerequisites, history behavior, and workflow-stage gating; nothing an agent needs to call it correctly 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, but the description adds real meaning beyond it: the partial-update contract ('only supplied fields change') and the full-replacement/clear semantics of content are not spelled out in the schema.

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 precise verb+resource: 'Rename an instruction document or rewrite its text whole.' It is clearly distinct from update_rule/update_info/update_work by naming the resource, but it never explicitly contrasts itself with those siblings.

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 concrete prerequisite ('Read current text with get, kind instruction, first') and a conditional constraint ('instruction changes are accepted only in its self-improvement stage'). No explicit when-not or named alternative (e.g., delete_instruction), so it stops short of a 5.

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