Skip to main content
Glama

Patch MCP

update_agent

Destructive

Change only supplied fields. By default save and publish atomically for new calls. Set apply=false to save a draft. Existing unrelated drafts cause a conflict.

Input Schema

NameRequiredDescriptionDefault
applyYes
changesYes
revisionYes
directionYes
number_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior3/5

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

The description adds meaningful behavior beyond the annotations: default atomic save+publish, draft mode via apply=false, and conflict behavior with unrelated drafts. It does not explain the destructive impact implied by destructiveHint=true, such as whether publishing overwrites live agent behavior, nor does it discuss revision/concurrency semantics beyond the draft conflict.

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?

Three compact sentences with no filler, and the partial-update constraint is front-loaded. The opening sentence is somewhat vague, but the structure remains efficient and easy to scan.

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, non-idempotent mutation with five required parameters, a nested changes object, and 0% schema description coverage, the description is far too thin. Output schema existence reduces the need to explain return values, but the description still omits what number_id, direction, revision, and changes fields mean and how they should be supplied.

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 0%, so the description must carry parameter meaning. It explains only the apply flag and hints at revision-related conflicts; it says nothing about number_id, direction, or the nested changes object's fields, leaving most of the five required parameters semantically undocumented.

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 states that only supplied fields are changed, which clarifies partial-update semantics, but it never says what resource is being updated (an agent configuration) or that this is an agent-mutating operation. The tool name supplies that context, but the description itself is vague about purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives useful conditional guidance for the apply parameter: default save-and-publish vs. apply=false for a draft, plus a conflict warning for existing unrelated drafts. However, it never distinguishes this tool from siblings like publish_agent or discard_agent_draft, so the agent must infer broader usage context.

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