Skip to main content
Glama

Change the call summary of a voice agent

update_agent_call_summary

Change the call summary of a voice agent

Switches the summary email after every call on or off and sets where it goes, whether it leaves out name and number (anonymous) and the important numbers. Fields left out keep their value. Only calls that start after switching on get a summary, usually within five minutes after the call. 409 with details.reason ZERO_PII when the agent keeps no call data, 400 with details.reason INVALID_VIP and details.index for a number that is not a phone number. Only agents of your own account.

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>",
      "body": "<body>"
    },
    "name": "update_agent_call_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe request fields as one JSON object.
agentIdYesagentId

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, it explains partial-update semantics ('Fields left out keep their value'), asynchronous behavior ('usually within five minutes after the call'), scope restrictions, and specific error conditions including 409 ZERO_PII and 400 INVALID_VIP.

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 mostly front-loaded and well organized: action, field behavior, asynchronous effect, errors, and account scope. It opens by repeating the title verbatim, which is slightly redundant but does not obscure the content.

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 mutation tool with nested parameters and no output schema, the description covers the critical behavior: partial updates, timing, error responses, and authorization scope. An agent has enough information to invoke it correctly without needing additional return-value details.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so most parameter meaning is already structured. The description still adds useful semantics: omitted fields retain their values, anonymous excludes name and number, VIP numbers are 'important numbers,' and invalid numbers produce a specific error with an index.

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 states a specific verb and resource: 'Change the call summary of a voice agent.' It clearly distinguishes the mutation from the sibling read tool 'get_agent_call_summary' by describing configuration changes rather than retrieval.

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 provides clear usage context: agents must belong to the caller's own account, and summaries only apply to calls starting after enabling. However, it does not explicitly contrast when to use this update tool versus reading with get_agent_call_summary or updating the broader agent.

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.