Skip to main content
Glama

CallMCP — Phone Call MCP Server

Approve Email Campaign

approve_email_campaign
Idempotent

An owner or admin of the business approves one exact revision of a drafted email campaign, named by campaign_id and the fingerprint returned by draft_email_campaign or get_email_campaign. A changed draft has a new fingerprint and needs a new approval. Sends nothing; launch_email_campaign queues it. Needs an owner or admin of the business.

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": {
      "business_id": "<business_id>",
      "campaign_id": "<campaign_id>",
      "fingerprint": "<fingerprint>"
    },
    "name": "approve_email_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
business_idYesThe business that sends the email.
campaign_idYesThe drafted campaign.
fingerprintYesFingerprint of the exact revision the owner reviewed.

Output Schema

NameRequiredDescriptionDefault
idNo
codeNo
errorNoPresent when success is false
actionNo
statusNo
successYesWhether the tool completed successfully
senderIdNo
fingerprintNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover safety and idempotency (readOnlyHint false, idempotentHint true, destructiveHint false), and the description adds genuinely new behavior: approval is non-sending, is scoped to an exact revision via fingerprint, and becomes stale when the draft changes. The authorization requirement (owner or admin) is also disclosed. What it does not describe is the failure mode when a fingerprint is stale or mismatched, which is the most likely error an agent will hit.

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 description is front-loaded with the core action and the exact-revision constraint, and each sentence carries information. The closing clause 'Needs an owner or admin of the business' largely restates the opening 'An owner or admin of the business approves', so one sentence is redundant.

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 an output schema and full annotation coverage, this is nearly complete: scope, authorization, revision binding, and the non-sending guarantee are all stated. The remaining gap is the stale/mismatched-fingerprint behavior, which is exactly the case an agent must handle to call this correctly.

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 would be 3, but the description adds real meaning beyond the schema: it explains that the fingerprint identifies the exact revision the owner reviewed, where that fingerprint comes from, and why it invalidates on change. That concurrency-control semantics is not conveyed by the schema's 'Fingerprint of the exact revision the owner reviewed' line alone.

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 names a specific verb and resource: approving one exact revision of a drafted email campaign, keyed by campaign_id plus fingerprint. It also draws the boundary against sibling tools by noting draft_email_campaign/get_email_campaign produce the fingerprint and launch_email_campaign queues the send, so an agent can separate approval from drafting and sending.

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?

It states the precondition (owner or admin of the business), the source of the required input (fingerprint returned by draft_email_campaign or get_email_campaign), and the lifecycle rule that a changed draft has a new fingerprint and needs a new approval. It also names the alternative for actually sending, launch_email_campaign, so the agent knows this tool alone does not ship anything.

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.