Skip to main content
Glama

AI Receptionist & Answering Service (OsmO)

Block or Allow a Caller

screen_caller
Destructive

Use this when the user says "block this caller" or "always let them through" about a call that came in. Takes callId (from missed_calls, list_calls or get_call) and action 'block' or 'allow'. The caller's number is added to the block list (block) or the VIP list (allow) and taken off the other list in the same change; every other number on both lists stays. Without confirmed:true nothing changes: it returns confirmation_required with both lists' changes and a confirmKey; call again with confirmed:true and that confirmKey only after the user says yes. A list that changed since the preview returns stale_preview with a fresh one. A hidden number or a call OsmO placed returns no_number. Not for a typed number (use update_settings).

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": {
      "callId": "<callId>",
      "action": "<action>"
    },
    "name": "screen_caller"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes'block' puts the caller on the block list; 'allow' on the VIP list (always put through).
callIdYesA call that came in: a callId from missed_calls, list_calls or get_call.
confirmedNoLeave out first. true only after the user has said yes to the preview.
confirmKeyNoThe confirmKey from the confirmation_required preview.

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. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations declare destructiveHint=true, and the description earns that by explaining the exact cross-list mutation (added to one list, removed from the other, all other numbers untouched). It also discloses the preview/confirm protocol, the stale_preview recovery path, and the no_number failure for hidden or OsmO-placed calls.

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-loads the trigger condition, then source, then effect, then the confirmation protocol, then error cases, then the exclusion. Dense but every sentence carries a distinct rule; no filler or repetition.

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 destructive two-list mutation with a two-phase confirm, the description covers effect, side effects on the other list, the preview/confirm handshake, staleness recovery, and failure modes. Output schema exists, so return values need no further explanation.

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, but the description adds real value by stating the ordering contract for confirmed/confirmKey (omit first, resend only after user consent and with the returned key) and pinning callId to missed_calls/list_calls/get_call. It largely restates the enum meaning already in the schema, hence not a 5.

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 pair (block/allow) and resource (caller), names the exact user phrasings that trigger it, and explicitly disambiguates from update_settings for typed numbers. An agent can distinguish it from list_calls and add_rule from the text alone.

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 explicit trigger utterances ('block this caller', 'always let them through'), names where to get callId, and provides a clear when-not with the alternative (use update_settings for a typed number). The confirmation-gated flow is spelled out step by step.

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.