Skip to main content
Glama

Apply assistant proposals

apply_assistant_changes
Idempotent

Applies assistant-proposed changes from a specific message, optionally limited to selected change IDs; skips already applied or dismissed changes and respects owner approval.

Instructions

Apply changes the assistant proposed in one of its messages (ids from get_assistant_thread, e.g. "c0"; omit changeIds for every still-proposed change). Already applied or dismissed changes are skipped. Only apply what the owner agreed to.

Input Schema

NameRequiredDescriptionDefault
changeIdsNoChanges to apply (default: all proposed).
messageIdYesAssistant message id (get_assistant_thread).
projectIdYesProject id (from get_overview).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.7

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent and non-destructive, and the description adds real context beyond them: already applied or dismissed changes are silently skipped (explaining the idempotency), and omitting changeIds applies every proposed change — a meaningful blast-radius warning. It does not say what the response contains or whether an apply can be undone.

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?

Three short sentences, front-loaded with the action and the id source, then the skip rule, then the safety caveat. No filler and no repetition of the title.

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 3-parameter mutation with full schema coverage and no output schema, the description covers scope, defaults, and skip semantics well. It leaves the post-apply return value unaddressed, which matters slightly since there is no output schema to fall back on.

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 100%, so the schema already documents all three fields including 'default: all proposed'. The description adds only the id example format and the 'still-proposed' qualifier on the default, which is marginal value over structured data — baseline 3 applies.

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

Purpose5/5

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

States a specific verb and resource ('Apply changes the assistant proposed in one of its messages') and ties the ids back to get_assistant_thread, so an agent knows exactly which objects this operates on. The clause about skipped applied/dismissed changes implicitly separates it from dismiss_assistant_changes.

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 clear operational context: omit changeIds for all still-proposed changes, and 'Only apply what the owner agreed to' sets the human-in-the-loop precondition. It never names dismiss_assistant_changes as the counterpart for rejecting proposals, so the alternative route is left implicit.

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