Skip to main content
Glama

Update Agent Configuration

update_agent_config
DestructiveIdempotent

Edit an agent's live runtime configuration — greeting/first message, inbound or SMS prompt, voice, language model, max call duration, and call-transfer settings — routed through the governed update broker so every change keeps the consent + audit trail (a versioned config snapshot and change history). Every write here is reversible: inspect what changed with get_change_history or list_config_versions, then undo it with rollback_config. Mutating changes need an idempotency_key. When the business owner or an admin is signed in through this connector, their own changes apply immediately. High-impact live changes made with an API key or on someone else's behalf queue for the owner's review instead (the owner is notified with a review link). For just a single named operational-rules section, prefer configure_agent_business_rules.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoAgent display name.
actorNoWho is asking: { type: agent|human|system|integration, id, display_name }.
modelNoLanguage model selection: { provider, model, temperature }.
voiceNoVoice selection: { provider, voiceId }.
dry_runNoValidate and summarize the change without writing.
agent_idYesKaiCalls agent ID to update.
authorityNoAttribution only. Caller-supplied authority cannot authorize live changes; authenticated owner review of the stored request is required.
sms_promptNoSMS reply prompt.
source_refNoExternal source reference, such as a support ticket or conversation ID.
business_idNoBusiness ID. Required when the agent has multiple accessible assignments.
max_durationNoMaximum call duration in seconds.
first_messageNoSpoken greeting / first message callers hear.
inbound_promptNoFull inbound system prompt that drives the agent.
idempotency_keyNoRequired for writes. Reuse the same key when retrying the same change.
outbound_promptNoOutbound (campaign) system prompt.
transfer_enabledNoEnable/disable live call transfer.
queue_for_approvalNoWhen authority is missing, create a pending dashboard approval instead of returning needs_approval.
transfer_phone_numberNoNumber to transfer qualified calls to.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNo
errorNoPresent when success is false
resultNo
statusNo
messageNo
successYesWhether the tool completed successfully
summaryNo
agent_idNo
approvalNo
request_idNo
risk_levelNo
business_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / authority / description
      Previous value: -"Human-grade authority for live changes: { mode: human_confirmed|dashboard_session|system_policy, confirmed_by, confirmed_at, confirmation_ref }."New value: +"Attribution only. Caller-supplied authority cannot authorize live changes; authenticated owner review of the stored request is required."
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already indicate mutating (readOnlyHint false), destructive (destructiveHint true), and idempotent (idempotentHint true). The description goes far beyond these: it explains the governed update broker and consent/audit trail, reversibility with specific inspection tools, the requirement of idempotency_key for writes, and the conditional behavior of immediate vs queued application based on authentication context. This adds substantial behavioral context not captured in annotations.

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 well-structured and front-loaded with the primary purpose. It is longer than a single sentence but each clause earns its place: governance, reversibility, idempotency, approval flow, and sibling routing. No filler or repetition, though it could arguably be tightened without losing meaning.

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 tool with 18 parameters, complex approval/audit behavior, and an output schema, the description is remarkably complete. It explains when changes apply immediately vs. queue, how to reverse, the idempotency requirement, and the alternative tool. The output schema exists, so return values don't need explanation. Nothing an agent needs to call this correctly is missing.

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 description coverage is 100%, so all 18 parameters already have descriptions in the schema. The tool description adds minimal parameter-specific meaning beyond restating a few fields (greeting, prompts, etc.) and mentioning idempotency_key and queue_for_approval. It does not compensate for any gaps because there are none, but it also doesn't enrich parameter semantics beyond the schema baseline.

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 clearly states the tool edits an agent's live runtime configuration, enumerating the specific fields (greeting, prompts, voice, model, max duration, transfer settings). It also explicitly distinguishes this from the sibling configure_agent_business_rules, which handles a single operational-rules section, so an agent can immediately tell them apart.

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

Usage Guidelines5/5

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

The description gives explicit when-to-use guidance: it names the alternative (configure_agent_business_rules) and the condition that selects it ('for just a single named operational-rules section'). It also explains the routing behavior (owner/admin immediate, others queue for review), the need for idempotency_key, and points to get_change_history, list_config_versions, and rollback_config for reversing changes. No inference is required.

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.