Skip to main content
Glama

Update an AI agent

update_agent
Destructive

Apply the same generic PATCH fields and validation as PATCH /v1/agents/{agent_id}; unknown fields retain REST's no-op compatibility behavior.

Input Schema

NameRequiredDescriptionDefault
modeNo
nameNo
modelNo
toolsNo
voiceNo
statusNo
agent_idYes
languageNo
metadataNo
transcriberNo
translationNo
webhook_urlNo
call_summaryNoThe free AI call summary: enabled (default true) and an optional goal line (at most 4000 characters) the call is judged against.
begin_messageNo
first_messageNo
system_promptNo
audio_stream_urlNo
recording_enabledNo
component_credential_bindingsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / call_summary
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "The free AI call summary: enabled (default true) and an optional goal line (at most 4000 characters) the call is judged against.",
      +  "properties": {
      +    "enabled": {
      +      "type": "boolean"
      +    },
      +    "goal": {
      +      "maxLength": 4000,
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare the operation is destructive, non-read-only, and not idempotent. The description adds useful REST-compatibility behavior: unknown fields are no-ops and validation matches PATCH /v1/agents/{agent_id}. It does not explain what may be destroyed or permission requirements, but it adds meaningful context beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single front-loaded sentence with no obvious filler. However, for a complex 19-parameter mutation tool, it is too terse and relies on opaque REST jargon rather than structured guidance.

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?

Given the high parameter count, nested objects, destructive annotation, and absence of an output schema, the description is incomplete. It does not cover parameter meaning, validation constraints, required permissions, or mutation effects beyond the generic PATCH and unknown-field behavior.

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 only 5% across 19 parameters, so the description would need to compensate. It mentions only unknown-field no-op behavior and adds no field-level semantics for name, mode, model, tools, voice, status, metadata, transcriber, translation, webhook_url, or other parameters.

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 states a specific update action tied to the REST PATCH /v1/agents/{agent_id} endpoint, making clear it modifies an existing agent. It is clear but does not explicitly differentiate usage from siblings such as create_agent, delete_agent, or get_agent.

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

Usage Guidelines2/5

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

The description gives no explicit when-to-use guidance, exclusions, or alternatives. An agent can infer it is for updating an existing agent from the required agent_id and PATCH reference, but no direct routing guidance is provided.

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.