Skip to main content
Glama

Sergio by Serviche

Record a campaign call outcome

record_campaign_call_outcome
Idempotent

Records the outcome of a campaign call step (answered or no_answer), as the Growth queue's call buttons do, so the sequence can move on. It records the outcome only: it places no call and sends nothing. taskId is the call step's task, from the send queue. Pass the same idempotency_key when retrying; a replay reports the state already on record.

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": {
      "taskId": "<taskId>",
      "outcome": "<outcome>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "record_campaign_call_outcome"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYes
outcomeYes
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

A3.8/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true, openWorldHint=false), so the bar is lower, and the description still adds real value: it states the consequential side effect (advancing the sequence), rules out external actions, and explains that a replay reports state already on record. What it does not disclose is the shape of a successful first response or what happens on an unknown or already-terminal taskId.

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?

Four short sentences, front-loaded with purpose then scope, then parameter provenance, then retry semantics - each earns its place except the idempotency sentence, which duplicates the schema. No filler or hedging language.

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

Completeness3/5

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

For a simple three-parameter mutation this is close, and the annotations cover the safety profile. With no output schema, however, the description should say what a successful call returns (does it report the new sequence state?) and how failures on a bad taskId surface. The replay behaviour is covered, the normal-path return is not.

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?

Schema coverage is only 33%, so the description must carry some weight, and it does explain taskId's provenance and enumerate the outcome values. The idempotency_key sentence largely restates the schema's own parameter description, so it adds no new meaning. Error/edge semantics for a stale or foreign taskId remain undocumented.

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 pairs a specific verb and resource ('Records the outcome of a campaign call step') with the allowed values ('answered or no_answer') and the downstream effect ('so the sequence can move on'). It also carves out scope by negation ('records the outcome only: it places no call and sends nothing'), which separates it from call-placing or logging siblings. It stops short of naming the obvious near-neighbor, correct_call_outcome, so an agent must still infer which one applies when a prior outcome was wrong.

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?

It gives concrete context for use ('as the Growth queue's call buttons do') and locates the required input ('taskId is the call step's task, from the send queue'), which tells the agent where the id comes from. There is no explicit when-not or named alternative, so routing between this and correct_call_outcome remains an 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