Skip to main content
Glama

AI Receptionist & Answering Service (OsmO)

List Calls

list_calls
Read-only

Use this when the user asks who called, what callers wanted, or wants to page back through their calls. 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 'inbound' keeps only calls that came in; without it, call backs are included too. cursor takes nextCursor from the previous page; hasMore is false on the last page. Not for placing a call; a quick catch-up of today is missed_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.7/5.0
Behavior4/5

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

Annotations already establish readOnly, non-destructive, closed-world behavior, so the safety profile is covered. The description goes further with genuinely behavioral detail the annotations cannot carry: fixed page size of 10, newest-first ordering, the subtle default that omitting callType includes call backs, and cursor/hasMore paging semantics. Some of the return-shape explanation (displayTable columns) overlaps with the existing output schema, keeping it just short of a 5.

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?

Front-loaded with the selection trigger, then paging contract, then parameter nuances, then the exclusion. Every sentence contributes a distinct fact, and the parenthetical column list is compact rather than verbose.

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 two-parameter list tool this covers selection, pagination contract, page-size expectations, return contents, enum defaults, and alternatives. With an output schema present the description does not need to detail return values, and it still gives enough of the displayTable shape to set expectations.

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 baseline is 3. The description still earns extra credit by clarifying the non-obvious consequence of the enum default — omitting callType pulls in call backs, not just inbound calls — which the schema's "omit for both" phrasing does not make fully explicit. Cursor semantics are restated from the schema rather than extended.

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?

Opens with a specific verb-plus-resource framed by user intent ("who called, what callers wanted, or wants to page back through their calls"), and explicitly fences off both a sibling (missed_calls for today's catch-up) and a non-use ("Not for placing a call"). An agent can distinguish this from missed_calls and call_back without opening any 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?

Gives concrete when-to-use triggers in user-language, an explicit when-not ("Not for placing a call"), and names the correct alternative for the adjacent case ("a quick catch-up of today is missed_calls"). Nothing about selection is left to inference.

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.