Skip to main content
Glama

retell_update_chat_agent

Modify a chat agent's configuration by updating its display name or webhook URL to adjust conversation flows and integration settings.

Instructions

Update a chat agent's configuration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYesThe chat agent ID to update
agent_nameNoNew display name
webhook_urlNoNew webhook URL

Implementation Reference

  • The execution handler for the retell_update_chat_agent tool. It extracts the agent_id from arguments, renames it to chatAgentId, and sends a PATCH request to the Retell API endpoint `/update-chat-agent/${chatAgentId}` with the remaining update data.
    case "retell_update_chat_agent": {
      const { agent_id: chatAgentId, ...chatAgentUpdateData } = args;
      return retellRequest(`/update-chat-agent/${chatAgentId}`, "PATCH", chatAgentUpdateData as Record<string, unknown>);
    }
  • Input schema definition for the retell_update_chat_agent tool, specifying required agent_id and optional agent_name and webhook_url fields.
    inputSchema: {
      type: "object",
      properties: {
        agent_id: {
          type: "string",
          description: "The chat agent ID to update"
        },
        agent_name: {
          type: "string",
          description: "New display name"
        },
        webhook_url: {
          type: "string",
          description: "New webhook URL"
        }
      },
      required: ["agent_id"]
    }
  • src/index.ts:664-685 (registration)
    Tool registration object in the tools array used for listing available tools via ListToolsRequestHandler. Includes name, description, and input schema.
    {
      name: "retell_update_chat_agent",
      description: "Update a chat agent's configuration.",
      inputSchema: {
        type: "object",
        properties: {
          agent_id: {
            type: "string",
            description: "The chat agent ID to update"
          },
          agent_name: {
            type: "string",
            description: "New display name"
          },
          webhook_url: {
            type: "string",
            description: "New webhook URL"
          }
        },
        required: ["agent_id"]
      }
    },
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states 'Update' implies a mutation, but doesn't disclose critical traits: whether it requires specific permissions, if changes are reversible, what happens to unspecified fields (partial vs. full updates), or error handling. For a mutation tool with zero annotation coverage, this is a significant gap in transparency.

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

Conciseness5/5

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

The description is a single, efficient sentence that directly states the tool's function without unnecessary words. It's front-loaded with the core action and resource, making it easy to parse quickly. Every part of the sentence earns its place by conveying essential information.

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 tool's complexity as a mutation operation with no annotations and no output schema, the description is incomplete. It lacks details on behavioral aspects (e.g., side effects, permissions), usage context, and what to expect upon success or failure. For a tool that modifies resources, this minimal description leaves too many gaps for reliable agent operation.

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?

The description doesn't add meaning beyond the input schema, which has 100% coverage with clear parameter descriptions (e.g., 'agent_id' as the ID to update, 'agent_name' as new display name). Since schema coverage is high, the baseline is 3, as the schema adequately documents parameters without needing extra explanation in the description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the action ('Update') and resource ('a chat agent's configuration'), which provides a basic understanding of purpose. However, it's vague about what 'configuration' entails and doesn't differentiate from sibling tools like 'retell_update_agent' or 'retell_update_conversation_flow', which likely update different types of agents or configurations. The description is functional but lacks specificity.

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 provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing an existing agent), exclusions (e.g., what can't be updated), or comparisons to siblings like 'retell_update_agent' (which may update a different agent type) or 'retell_get_chat_agent' (for reading). Without such context, an agent must infer usage from the name alone.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/itsanamune/retellsimp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server