Skip to main content
Glama

Close a campaign

close_campaign
DestructiveIdempotent

Ends the campaign now: no more answers are accepted. The price was charged at launch, so closing early refunds nothing. Campaigns also close on their own at the cap or on expiry. Closing twice changes nothing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apiKeyYesYour Clearvoyance API key (cv_live_… or cv_test_…), from create_account
campaignIdYesA campaign id from launch_campaign or list_my_campaigns

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

The description adds meaningful behavioral context beyond the annotations: pricing was charged at launch so no refund is issued, and closing twice changes nothing, which aligns with idempotentHint. It also reinforces the destructive nature by stating no more answers will be accepted.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short, information-dense sentences cover the action, refund implications, automatic closing behavior, and idempotency. The main effect is front-loaded and 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?

The description is complete for an agent deciding whether and how to call the tool: it knows the effect, refund behavior, idempotency, and automatic alternatives. The schema covers parameters, and the output schema covers return expectations, so nothing necessary is missing.

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 description coverage is 100%, so the schema already documents apiKey and campaignId fully. The description does not add parameter-level nuance beyond reference to the campaign lifecycle, so the baseline of 3 is appropriate.

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 opening phrase 'Ends the campaign now: no more answers are accepted' is a specific verb plus resource with a clear behavioral outcome. It is immediately distinguishable from sibling tools like launch_campaign or get_campaign.

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?

The description clearly establishes when to use the tool: to end a campaign immediately and stop accepting answers. It also explains that campaigns close automatically at the cap or expiry, which gives the agent context for when manual closing is unnecessary. It does not explicitly name an alternative tool, but the usage context is clear enough.

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