Skip to main content
Glama

Invite one person

invite_person

Adds one person to a live targeted campaign and returns their personal link, or emails it from clearvoyance.ai when send is true (sandbox accounts never send). One call per order, ticket or sign-up. Pass an email, or your own externalId when you will deliver the link yourself. One person, one link: the same person twice is refused. Refused with 402 once the campaign has as many invitations as it paid for (cohortSize at launch); launch another for the next group.

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": {
      "apiKey": "<apiKey>",
      "campaignId": "<campaignId>"
    },
    "name": "invite_person"
  }
}

Input Schema

NameRequiredDescriptionDefault
sendNotrue: we email the invitation. Default false: the link comes back to you.
emailNoThe person's email address.
apiKeyYesYour Clearvoyance API key (cv_live_… or cv_test_…), from create_account
campaignIdYesA campaign id from launch_campaign or list_my_campaigns
externalIdNoYour own id for them (order, ticket, customer) instead of an email.

Output Schema

NameRequiredDescriptionDefault
okYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations, it discloses the return value (a personal link), the sending behavior (emailed from clearvoyance.ai only when send is true), an environment quirk (sandbox accounts never send), and two refusal modes: duplicate person and 402 when cohortSize is exhausted. The only meaningful gap is that it does not say whether a refused duplicate is safe to retry with a different identifier, though the annotations' idempotentHint=false already signals repeat calls are not free.

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 purpose is front-loaded in the first clause, followed by delivery options, cardinality, identifier choice, and error conditions in a logical order. Several sentences are clause-dense ('returns their personal link, or emails it from clearvoyance.ai when send is true (sandbox accounts never send)'), but no sentence is filler.

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 single-record mutation with five params, an output schema, and non-destructive annotations, the description covers what an agent needs: identifier choice, delivery mode, one-per-person constraint, and the 402 ceiling with its remedy. Return-value shape is left to the output schema, which is appropriate.

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 100%, so every parameter is already documented in structured form, and the description's 'pass an email, or your own externalId when you will deliver the link yourself' mostly restates the schema's own email/externalId descriptions. It does add one genuinely new fact — that send=true is inert on sandbox accounts — but otherwise the baseline of 3 applies when the schema carries the semantics.

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 opens with a specific verb and resource — 'Adds one person to a live targeted campaign' — and states the two outcomes (returns a personal link, or emails it when send=true). It also scopes the operation to exactly one person per call, so there is no ambiguity about granularity versus batch siblings like launch_campaign.

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 gives concrete when-to-use guidance: 'One call per order, ticket or sign-up', and 'Pass an email, or your own externalId when you will deliver the link yourself', which tells the caller which identifier to supply in which situation. It also routes the agent forward on failure — 402 at cohort exhaustion means 'launch another for the next group' — naming the condition and the alternative.

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