Skip to main content
Glama

update_agent

DestructiveIdempotent

Update an agent (partial): name, description, color, active, trigger_mode, run_every_minutes, and the profile — persona, values, autonomy, fast_model, deliberate_model (unknown fields such as slug are rejected with a hint, not dropped). trigger_mode decides WHO runs this agent: "mcp_client" (default) means it only ever runs while an MCP client drives it — close the client and nothing happens, however many recurring tasks point at it. "server_job" means the server triggers it on its own clock and therefore needs run_every_minutes (e.g. 1440 for daily); switching without a cadence is refused rather than silently doing nothing. Switching is reversible and changes NOTHING about the agent's tool permissions — tools that need approval still need it. WHEN it may run: run_from/run_to ("08:00"/"20:00", empty string removes the limit), run_days (1=Monday .. 7=Sunday, also "1-5" or "mo-fr") and timezone (IANA, e.g. Europe/Berlin — the agent's own, not the tenant's). A run falling due outside the window is SKIPPED, not caught up: the next date moves to the next opening, so a weekend does not produce sixteen runs on Monday morning.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "agent_id": "<agent_id>"
    },
    "name": "update_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoName of the agent
colorNoColour (e.g. hex code)
grundNoWhy this change (goes into the optimisation register, list_optimierungen)
activeNoWhether the entry is active
run_toNoLatest local time of day, e.g. 20:00
valuesNoThe agent's rules (shown as identity.values in get_agent_bootstrap)
personaNoWho the agent is, in its own words
agent_idYesID of the agent to change
autonomyNoHow freely the agent acts: autonomous, approval (default) or read_only
run_daysNoISO weekdays 1=Mon .. 7=Sun
run_fromNoEarliest local time of day, e.g. 08:00
timezoneNoIANA zone the agent works in
fast_modelNoModel for quick, routine steps of this agent
descriptionNoDescription of the agent
trigger_modeNoWho runs the agent: mcp_client (default, only while a client drives it) or server_job (server schedule)
deliberate_modelNoModel for slower, more careful reasoning steps of this agent
run_every_minutesNoRun cadence in minutes for server_job agents, e.g. 1440 for daily

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • addedInput schema / properties / active / description
      Added value: +"Whether the entry is active"
    • addedInput schema / properties / agent_id / description
      Added value: +"ID of the agent to change"
    • addedInput schema / properties / autonomy / description
      Added value: +"How freely the agent acts: autonomous, approval (default) or read_only"
    • addedInput schema / properties / color / description
      Added value: +"Colour (e.g. hex code)"
    • addedInput schema / properties / deliberate_model / description
      Added value: +"Model for slower, more careful reasoning steps of this agent"
    • addedInput schema / properties / description / description
      Added value: +"Description of the agent"
    • addedInput schema / properties / fast_model / description
      Added value: +"Model for quick, routine steps of this agent"
    • addedInput schema / properties / name / description
      Added value: +"Name of the agent"
    • addedInput schema / properties / run_every_minutes / description
      Added value: +"Run cadence in minutes for server_job agents, e.g. 1440 for daily"
    • addedInput schema / properties / trigger_mode / description
      Added value: +"Who runs the agent: mcp_client (default, only while a client drives it) or server_job (server schedule)"
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, it discloses that unknown fields are rejected with a hint rather than silently dropped, that trigger_mode switching is reversible and does not alter tool permissions, and that out-of-window runs are skipped rather than caught up. These are meaningful behavioral details an agent could not infer from destructiveHint or idempotentHint alone.

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?

The description is front-loaded with the updated fields and then groups trigger scheduling and run-window semantics logically. It is lengthy and occasionally dense, but the length is mostly justified by the 17-parameter surface and the scheduling edge cases it clarifies.

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 complex, high-parameter mutation tool with no output schema, the description covers the important operational questions: which fields are updatable, how scheduling modes behave, how windows work, and what happens to invalid input. Nothing essential for correct invocation appears to be missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, but the description adds substantial meaning beyond it: it explains what trigger_mode decides, why server_job requires run_every_minutes, that an empty run_from/run_to removes the window, accepted run_days formats, and that timezone is the agent's own rather than the tenant's. This is well above the baseline for a fully documented schema.

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?

The description opens with a specific verb and resource ('Update an agent (partial)') and enumerates the exact fields it can change, including the nested profile fields. This makes it clearly distinguishable from create_agent, delete_agent, and read-oriented 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?

It gives strong conditional guidance for the trigger_mode choice: mcp_client versus server_job, the cadence requirement for server_job, and what happens when switching without one. It does not explicitly compare update_agent with sibling update or create tools, but the 'partial' framing and field-level scope make the intended use clear.

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.