Skip to main content
Glama

Sergio by Serviche

Correct a call's outcome

correct_call_outcome
Idempotent

Says whether a call your team placed reached the person (picked up or not), as the lead card's call row does, and re-decides the lead's status from it. reached: true a person picked up, false nobody did (a greeting, a menu, no answer). Only a call your team placed (outbound) can be corrected, and true needs a call the phone system says connected. call_id from read calls. Nothing is sent. Pass the same idempotency_key when retrying; a repeat changes nothing more.

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": {
      "call_id": "<call_id>",
      "reached": "<reached>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "correct_call_outcome"
  }
}

Input Schema

NameRequiredDescriptionDefault
call_idYes
reachedYes
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare a non-read-only, idempotent, non-destructive, closed-world operation, and the description adds real context on top: the lead's status is re-decided as a side effect, 'Nothing is sent' rules out outbound communication, and the connected-call precondition is stated. It does not say what happens when the precondition fails or whether a corrected outcome can be re-corrected back.

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?

The paragraph is front-loaded with the effect and the return semantics before moving to preconditions and retry behavior, and most sentences carry distinct information. The closing idempotency sentence overlaps the schema's idempotency_key description, a minor redundancy in an otherwise dense passage.

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 three-parameter mutation with no output schema, the definition covers effect, preconditions, parameter meaning, and retry safety. What is missing is the failure mode when the connected-call check rejects a true, and any hint of what the caller gets back after the lead status is re-decided.

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?

With schema coverage at 33%, the description carries most of the semantic load and does so well: 'reached: true a person picked up, false nobody did (a greeting, a menu, no answer)' defines the boolean far beyond its type, and call_id's provenance is given. The idempotency_key explanation largely restates the schema's own description, adding only 'a repeat changes nothing more'.

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 gives a concrete verb and resource: it sets whether a call 'reached' the person and re-decides the lead's status from that result. The constraint 'Only a call your team placed (outbound) can be corrected' implicitly separates it from the campaign-call sibling, but no sibling is named outright, so an agent must infer the boundary rather than read it.

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

Usage Guidelines4/5

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

Usage conditions are explicit: only outbound calls the team placed qualify, and reached=true requires a call the phone system reports as connected. It also points to where call_id comes from ('from read calls'). It stops short of naming an alternative for the case where the call was not placed by the team, leaving the routing for that case 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.

Resources