Skip to main content
Glama

Update agent

update_agent
Idempotent

Update an agent (partial). Set trigger_mode to 'server_job' + trigger_events/run_every_minutes to run it unattended (background jobs, §17) — setting run_every_minutes (and not also passing next_run_at) schedules its first run immediately.

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
nameNo
colorNo
activeNo
statusNo
agent_idYes
descriptionNo
next_run_atNoISO timestamp of the next scheduled run. Usually left to auto-compute from run_every_minutes.
trigger_modeNo
trigger_eventsNoEvent names (your own convention) that should wake this agent as a background job.
run_every_minutesNoRecurring schedule; set to null to stop scheduling.

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 declare idempotent=true and destructive=false, so the safety profile is set. The description adds behavior not in the annotations: that supplying run_every_minutes without next_run_at schedules the first run immediately, a real side effect an agent must know before calling. It still does not say what happens to omitted fields or what an invalid schedule returns.

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 sentences, front-loaded with the partial-update qualifier and then the scheduling recipe, with no filler. The inline '(background jobs, §17)' reference is internal documentation noise that adds little for an agent reader.

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

Completeness3/5

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

For a 10-parameter mutation tool with low schema coverage and no output schema, the description covers the scheduling semantics well but leaves most fields and the response behavior undocumented. Adequate to call correctly on the common path, incomplete for the rest.

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 only 30% across 10 parameters, so the description must carry weight, and it does for the hardest ones: the 'server_job' enum value, the role of trigger_events, and the run_every_minutes/next_run_at interaction. The remaining parameters (name, color, active, status, description, agent_id) get no explanation, though most are self-describing by name.

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?

The description opens with a specific verb and resource, "Update an agent (partial)", and the parenthetical clarifies that the operation is a partial patch rather than a full replace. That partial-update note is the key distinction an agent needs, though it does not name or differentiate against near siblings such as set_agent_profile.

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 explicit conditional instructions for the non-obvious path: set trigger_mode to 'server_job' together with trigger_events/run_every_minutes "to run it unattended (background jobs)". No exclusions or alternative-tool routing are given, and the guidance covers only the scheduling subset of the ten parameters.

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