Skip to main content
Glama

PyAI Voice AI

Configure AMD

configure_amd
Destructive

Set the PyAI AMD (answering-machine detection) operating point + webhook (POST /v1/amd/config). aggressiveness is one dial 0-1: near 0 is human-safe (never hang up on a person), near 1 fires 'machine' fast. The realtime detection itself is a Twilio Media Streams WebSocket (wss /v1/amd/stream), a one-line-TwiML drop-in, not an MCP tool.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "configure_amd"
  }
}

Input Schema

NameRequiredDescriptionDefault
webhook_urlNohttps URL to POST amd.call.completed events to.
aggressivenessNoOperating point 0-1 (default 0.25).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, openWorldHint=true, and idempotentHint=false, so the safety profile is covered externally. The description adds the meaningful behavioral nuance that aggressiveness trades off human-safe hanging up versus fast machine detection, but never says whether configuring replaces or merges the existing config, that both parameters are optional (so omitting webhook_url may clear it), or when amd.call.completed fires. No contradiction with 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?

Front-loaded with the verb, resource, and endpoint, followed by the dial semantics — good ordering and no filler about the modification itself. The trailing sentence about the Twilio Media Streams WebSocket is justified as scope disambiguation but carries incidental detail ('one-line-TwiML drop-in', 'wss /v1/amd/stream') that is not actionable for this tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, open-world config-setter with no output schema, the description covers the dial semantics well but omits what an agent most needs before invoking it: the scope of application (this tool takes no account/agent/phone-number identifier, so the effect is presumably global) and whether a call wipes unspecified settings. Adequate to invoke, incomplete to invoke safely.

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 the baseline is 3; the description earns above that by explaining what the 0-1 scale actually means in operational terms — near 0 never hangs up on a person, near 1 flags 'machine' quickly — which is genuinely more useful than the schema's terse 'Operating point 0-1 (default 0.25).' webhook_url gets no additional meaning beyond the schema, but the aggressiveness dial interpretation is real added value.

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 — 'Set the PyAI AMD operating point + webhook (POST /v1/amd/config)' — and explicitly rules out the realtime detection stream as something this tool does not configure, which prevents a common confusion. It does not, however, distinguish itself from nearby sibling tools such as get_amd_call or list_amd_calls, so the agent must infer that this is the write-side counterpart of those reads.

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?

Usage is only implied: the description frames the tool as setting the AMD operating point and webhook, so an agent can deduce 'use this when you want to change AMD settings.' There is no explicit when-to-use statement, no precondition (e.g. whether AMD must be enabled first), and no mention of the read siblings to consult before changing anything.

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.