Skip to main content
Glama

Onsa

Get campaign

get_campaign
Read-onlyIdempotent

Get one campaign's details: its ICP (the ideal-customer-profile the agent derived and scores leads against), its outreach template, and its settings. The ICP is returned exactly as stored, which is snake_case: perfect_lead and reachable_market are one-line summaries, while company and person hold the rules that actually drive scoring — each is an object with critical and preferential rule lists. product and owner describe the seller. Read company.critical / person.critical before proposing a refinement; the two summary strings are not the criteria. Do not assume any key is present. Also read outreachTemplate to see how much personalization the messages allow: a template whose only placeholders are [FIRST_NAME] / [COMPANY_NAME] produces near-identical mail-merge copy for every lead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
campaignIdYesCampaign id from list_campaigns or fetch_leads — never invent one

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
icpYes
tagsYes
titleYes
createdAtYes
updatedAtYes
leadsTotalYes
campaignUrlYes
leadsApproveYes
outreachTemplateYes
outreachAutoApproveYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already mark the tool as read-only and idempotent, and the description's 'Get' wording aligns with that. It does not add much behavioral detail beyond the annotations, but it does not contradict them and accurately reflects a safe, read-only operation.

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?

The description is detailed but each sentence contributes meaningful guidance about the returned data and how to use it. It is front-loaded with the core purpose and then provides important interpretative notes without unnecessary 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?

Given that no output schema is provided, the description compensates by explaining the structure and meaning of the returned campaign details, including ICP fields, outreach template, and settings. It gives enough context for an agent to know what to expect and how to act on the result.

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?

The tool description itself does not elaborate on the parameter, but the schema provides full coverage for `campaignId`, including format, pattern, and guidance to use an ID from list_campaigns or fetch_leads. Since schema coverage is 100%, the baseline applies and the description adds little beyond what the schema already conveys.

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 clearly states the tool gets one campaign's details, including ICP, outreach template, and settings. It uses a specific verb and resource, and the title and name reinforce this. It is readily distinguished from sibling tools like list_campaigns or fetch_leads.

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 gives clear context for when to use the tool and provides specific guidance on how to interpret and use the returned fields, such as reading `company.critical` before proposing refinements. It does not explicitly mention alternatives or when not to use it, but the purpose is unambiguous.

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