Skip to main content
Glama

update-agent

Modify an existing agent's configuration by sending only the fields you want to change, such as greeting, model, qualification rules, follow-up emails, or triggers.

Instructions

Update an existing agent's configuration. Only provide fields you want to change.

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": {
      "agentId": "<agentId>"
    },
    "name": "update-agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
faqNo
agentIdYesThe agent ID to update
contactsNo
followupNoOutbound follow-up email. Sent from the owner's connected Gmail so it lands in Primary inbox. Requires visitor opt-in checkbox + gmailConnection on owner.
servicesNo
chatModelNoSwitch the reply model: "standard" or "advanced" (each advanced reply counts as 15 messages; Starter plan or higher).
claimableNoAdmin only. Toggle whether this agent is claimable from the public chat page.
bookingUrlNo
widgetTitleNo
businessNameNo
restrictionsNo
businessHoursNo
qualificationNoStructured lead qualification (BANT/MEDDIC-style). AI weaves questions into chat, classifier extracts answers, score fires a webhook on threshold crossing.
defaultGreetingNo
defaultLanguageNo
escalationRulesNo
communicationToneNo
proactiveTriggersNoRules that auto-open the widget on visitor behavior. Max 10 per agent.
attachmentsEnabledNoTurn visitor photo and file uploads in chat on or off. Turning on needs the Starter plan or higher.
businessDescriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden for a 20-parameter mutation with deeply nested objects. It never says whether a provided nested object (followup, qualification, proactiveTriggers) replaces or merges with the stored value, whether omitted fields are preserved, or that some fields (claimable) are admin-only and others (chatModel, attachmentsEnabled) are plan-gated. The single partial-update sentence is the only behavioral disclosure.

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?

Two short sentences, front-loaded and free of padding, which is good structure. But for a 20-parameter nested mutation the terseness reads as under-specification rather than economy — nothing tells the agent which of the 20 fields are risky or how partial updates interact with nested structures.

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 20 parameters, nested objects, no annotations, and no output schema, the definition is far too thin. An agent cannot tell from it whether nested writes are destructive, what happens on validation failure, or what the tool returns, all of which matter for a configuration mutation.

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 35%, and the description compensates for none of it beyond the general "provide only what you change" note. Critical semantics such as nested-object merge behavior, the 15-message cost of chatModel=advanced, and the gmailConnection prerequisite for followup are documented only in schema descriptions or not at all.

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?

States a specific verb and resource ("Update an existing agent's configuration"), which clearly separates it from delete-agent, get-agent, and create-agent. It stops short of naming any sibling or scoping what "configuration" covers, but the core purpose is unambiguous.

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?

"Only provide fields you want to change" usefully signals partial-update semantics and implies an agent ID must already exist. However, there is no guidance on looking up the existing config first (e.g. via get-agent), no note about which fields require higher plan tiers or admin rights, and no exclusions versus create-agent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.