Skip to main content
Glama

get_campaign_details

LEGACY wallet flow — new integrations should use create_account and launch_campaign (API key + prepaid balance, no wallet). (get_campaign is its equivalent for the key flow.) Returns detailed stats for a specific campaign: invite count, response count, completion rate, question definitions, and campaign status. Only campaigns owned by your wallet are accessible. Requires the sessionToken from verify_login_signature.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
campaignIdYesCampaign ID to inspect
sessionTokenYesSession token from verify_login_signature

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses the legacy status, the wallet-ownership access restriction, the authentication requirement, and the read-oriented nature ('Returns'). It does not explicitly state 'does not modify anything' or describe error behavior, but the return-focused phrasing implies a read-only operation and the core behavioral constraints are well covered.

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?

Three sentences with no wasted words. The critical legacy warning and alternative are front-loaded, followed by the purpose and constraints. Every sentence earns its place.

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 simple 2-parameter read tool with no output schema, the description is complete: it tells the agent what the tool does, when to use it (and when not), what auth is needed, which resources are accessible, and what data will be returned. No critical gaps for correct invocation and selection.

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 is 3. The description adds value by clarifying that campaignId must reference a wallet-owned campaign ('Only campaigns owned by your wallet are accessible'), and it reinforces the origin and necessity of sessionToken. This goes slightly beyond the schema's bare descriptions.

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?

States a specific verb ('Returns detailed stats'), a specific resource ('a specific campaign'), and enumerates the exact data fields (invite count, response count, completion rate, question definitions, campaign status). It also distinguishes itself from the sibling get_campaign ('its equivalent for the key flow') and from the newer create_account/launch_campaign flow.

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?

Explicitly says this is the LEGACY wallet flow and that new integrations should use create_account and launch_campaign instead. It names the alternative for the equivalent key flow (get_campaign), states the precondition (requires sessionToken from verify_login_signature), and imposes an access constraint (only campaigns owned by your wallet).

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