Skip to main content
Glama

Sergio by Serviche

Confirm the company may text its clients (after your person confirms)

confirm_campaign_text_consent
DestructiveIdempotent

When a campaign would email people because Sergio has no permission to text them, your person can confirm once, for the whole company, that it has permission to text its clients. First call without confirm_token: nothing changes; you get the exact line and how many people it adds, and a confirm_token. Show your person the line word for word, and only after they say yes, call again with the same arguments and the SAME idempotency_key, plus confirm_token. Anyone who replied STOP is never texted. An owner-level change: Sergio tells the owner after it is made.

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": {
      "campaign_id": "<campaign_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "confirm_campaign_text_consent"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoWhy you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change.
campaign_idYes
confirm_tokenNoFrom the preview, after your person said yes. Leave it out to get the preview.
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.8/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), the description discloses that the first call changes nothing and returns the exact line plus how many people it adds, that STOP repliers are excluded, and that this is an owner-level change the owner is notified about afterward. That is exactly the mutation context an agent needs before a destructive write.

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 two-step flow is front-loaded and most sentences carry distinct information. There is some repetition between the description and the schema's idempotency_key and confirm_token docs, and the framing clause ("because Sergio has no permission to text them") is slightly verbose, but nothing is wasteful enough to obscure the call sequence.

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?

With no output schema, the description supplies the return shape (exact line, count of added people, confirm_token) and covers the confirmation gate, exclusion rule, and owner notification. An agent could execute both phases of this two-step destructive operation correctly from the description alone.

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 75%, and the description still adds meaning: confirm_token is the second-step gate obtained from the preview, and the idempotency_key must be reused on the retry of the same operation. It does not add anything about reason or campaign_id beyond what the schema already says, which holds it short of 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?

The description states a specific verb and resource: the person confirms once, for the whole company, that it has permission to text its clients, and it names the triggering condition (a campaign would email people because texting permission is missing). An agent can distinguish this from siblings like send_text or confirm_quo_credits_added without opening the 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?

The when-to-use is explicit and procedural: first call without confirm_token to get a preview, show the exact line to the person word for word, and only after they say yes call again with the same arguments, the SAME idempotency_key, and the confirm_token. Exclusions are also stated (anyone who replied STOP is never texted).

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