Skip to main content
Glama
osherai

AgencyAnalytics MCP Server

by osherai

get_campaign

Retrieve detailed information about a single campaign by its ID. Get campaign details directly from AgencyAnalytics.

Instructions

Get a single campaign (client) by ID.

Retrieves detailed information about a specific campaign.

Args: campaign_id: The AgencyAnalytics campaign ID

Returns: JSON object with campaign details

Examples: - get_campaign(campaign_id=123) - Get campaign with ID 123

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
campaign_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/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 that the tool retrieves detailed information and returns a JSON object, which is helpful. Yet it does not mention error behavior (e.g., missing campaign), permissions, or rate limits. For a simple read operation, this is sufficient but has clear gaps.

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 mostly concise and front-loaded, with the key purpose in the first line. The Args/Returns/Examples structure is clean. A minor redundancy exists between the first two sentences ('Get a single campaign' vs 'Retrieves detailed information'), but it's not excessive.

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?

The tool is simple (one required parameter, no nested objects) and the description explains purpose, parameter, return type, and gives an example. Since an output schema exists (though not shown), full return value documentation is not required. The main missing context is error handling and connection to sibling tools, but for its complexity this is nearly complete.

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?

The schema only provides the type (integer) and requirement; the description's Args section explains that campaign_id is 'The AgencyAnalytics campaign ID,' adding semantic meaning. Given the single parameter, this compensates well for the 0% schema description coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states a specific verb ('Get') and resource ('campaign' or 'client') with a scope ('by ID'). It distinguishes from list_campaigns implicitly ('single' vs listing), but does not explicitly contrast with sibling tools, so it doesn't earn a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies use when you need one specific campaign by ID, and the example shows direct usage. However, it offers no explicit guidance on when not to use it or mention alternatives like list_campaigns for discovering IDs. Usage context is adequate but not fully articulated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/osherai/mcp-agencyanalytics-python'

If you have feedback or need assistance with the MCP directory API, please join our Discord server