Skip to main content
Glama

AI Phone Calls & AI Receptionist (OsmO)

List Calls

list_calls
Read-only

Use this when the user asks about calls that already happened — who called them, who OsmO called for them, or what was said — or wants to page back through their whole call history. Returns 10 calls per page, newest first: displayTable, a Markdown table (When, Name, Number, Call, Summary, ▶ Play), plus the same calls as data with full numbers, reason and summary. callType narrows it to inbound (calls to the user that OsmO answered) or outbound (calls OsmO placed); without it both are included. cursor takes nextCursor from the previous page; hasMore is false on the last page, and a user with no calls gets an empty list. One call in full (transcript, analysis) is get_call; calls booked for later and not yet placed are in list_scheduled_calls.

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_calls"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNonextCursor from the previous page; omit for the newest 10.
callTypeNo'inbound' for calls to the user that OsmO answered, 'outbound' for calls OsmO placed; omit for both.

Output Schema

NameRequiredDescriptionDefault
codeYesWhat happened, e.g. ok, confirmation_required, not_found.
messageNoOne sentence for the user, when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "code": {
      +      "description": "What happened, e.g. ok, confirmation_required, not_found.",
      +      "type": "string"
      +    },
      +    "message": {
      +      "description": "One sentence for the user, when there is one.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code"
      +  ],
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / callType / description
      Added value: +"'inbound' for calls to the user that OsmO answered, 'outbound' for calls OsmO placed; omit for both."
    • changedInput schema / properties / cursor / description
      Previous value: -"nextCursor from the previous page; omit for the first."New value: +"nextCursor from the previous page; omit for the newest 10."
  3. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is given. Beyond that the description adds real behavior: 10 per page, newest-first ordering, the displayTable Markdown shape plus a parallel data array, hasMore=false on the last page, and an empty list for users with no calls. Missing is any note on rate limits or how large a history can be paged, so it is strong but not exhaustive.

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?

Information-dense and front-loaded: trigger first, then return shape, then parameter meaning, then edge cases and alternatives. It is a single long block rather than separated lines, but no sentence is filler.

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?

Although an output schema exists and would excuse omitting return details, the description still sketches the payload and pagination contract. Together with the annotations and fully described schema, an agent has everything needed to invoke and interpret this tool.

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 still earns credit by explaining the semantic consequence of omitting callType ('without it both are included') and by tying cursor to nextCursor from the previous page, which the schema only states tersely.

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?

States a specific verb and resource (list calls that already happened) plus the scope it covers — the user's whole call history, newest first. It explicitly separates itself from get_call (one call in full) and list_scheduled_calls (booked but not placed), so an agent can route without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Opens with an explicit trigger ('Use this when the user asks about calls that already happened... or wants to page back'), and closes by naming two alternatives with the conditions that select them. Both when-to-use and when-not-to-use are covered.

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.