Skip to main content
Glama

List AMD Calls

list_amd_calls
Read-onlyIdempotent

List recent PyAI AMD decisions (GET /v1/amd/calls). Each carries answered_by (human/voicemail/ivr/screening/sit_invalid/…), answered_by_twilio (Twilio's enum, for routing parity), confidence, decision_ms, and the word-level reason.

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": "list_amd_calls"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (1-100, default 20).
session_labelNoFilter by the opaque connect-URL/TwiML tag.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the read-only, idempotent, non-destructive annotations, it discloses the endpoint, recency scope, and representative contents of each result. The explanation of answered_by_twilio for routing parity and the word-level reason is especially useful, though ordering, the recency window, and empty-result behavior remain unspecified.

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?

Two compact sentences front-load the operation and endpoint, then efficiently describe the most important result fields. The parenthetical examples and routing-parity note add useful precision without filler.

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

Completeness4/5

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

For a simple read-only tool with two optional, fully documented parameters, the definition supplies enough scope and output information to support correct invocation despite having no output schema. It would be more complete with sibling-selection guidance and details such as result ordering or how far back "recent" extends.

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?

Both parameters already have complete schema descriptions, including limit bounds and default and the meaning of session_label. The description adds little input-parameter detail beyond implying a recent-results scope, so the high schema coverage supports the baseline score.

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?

The description clearly states the action and resource: listing recent PyAI AMD decisions through GET /v1/amd/calls. The returned decision fields further clarify what an "AMD call" contains, but the description does not explicitly differentiate this tool from sibling call-listing tools.

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 implied for inspecting recent AMD classifications, confidence, timing, and routing-related decisions. There is no explicit guidance on when to choose this tool over another call-listing or AMD tool, nor any when-not-to-use guidance.

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.