Skip to main content
Glama

Update macro

update_macro
Destructive

Change a macro. Pass the FULL list of actions you want it to have — actions replace the previous ones, they are not merged. visibility is required, because saving a macro always sets it.

Input Schema

NameRequiredDescriptionDefault
nameNo
actionsNoSteps the macro runs, in order. action_params per action: change_priority → exactly one of low, medium, high, urgent, nil; change_status → exactly one of open, resolved, pending, snoozed; assign_agent → one agent id (list_agents), the string "self" for whoever runs the macro, or "nil" to unassign; assign_team → one team id (list_teams), or the string "nil" to unassign; add_label → label titles (list_labels), one or more; remove_label → label titles, one or more; send_message → the message text (one string); send_email_transcript → one string of comma-separated email addresses; mute_conversation → none; snooze_conversation → none; resolve_conversation → none; send_whatsapp_flow → one object: {flow_id (list_whatsapp_flows, published only), flow_cta (the button label, at most 30 characters), body, and optionally header, footer, initial_screen}; add_private_note → the note text (one string); remove_assigned_team → none.
macro_idYes
visibilityYesglobal (everyone) or personal (only the author).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, but the description adds genuinely non-obvious behavior: actions replace rather than merge, so partial payloads silently drop steps. It also explains why visibility is non-optional (saving always writes it). It stops short of describing permissions or error behavior.

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?

Two short sentences, front-loaded with the verb and immediately followed by the destructive gotcha, then the required-field caveat. No filler; only the terse first sentence is thinner than it could be.

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 destructive mutation with no output schema and full annotation coverage, the description supplies the one behavior that most often causes data loss (replace-not-merge). Remaining gaps — whether name is optional and left unchanged, and any auth requirements — are minor.

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?

With schema description coverage at only 50%, the description compensates by explaining that actions is a full replacement list and why visibility is required — semantics the enum and types alone do not convey. macro_id and name are left to the schema, but neither carries hidden meaning.

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?

Clear verb+resource ("Change a macro") that an agent can distinguish from a read or creation operation. It does not, however, differentiate against the obvious siblings create_macro, delete_macro and execute_macro, so the boundary must be inferred from the name alone.

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?

Usage is implied by "Change a macro" (modify an existing macro rather than run it), and the description gives an important how-to-call caution about full replacement. But it never states when to prefer this over execute_macro or create_macro, nor any prerequisite such as needing the macro to already exist.

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