Skip to main content
Glama
osherai

AgencyAnalytics MCP Server

by osherai

get_keyword_rankings

Fetch keyword rankings for a campaign, showing search engine positions, ranking changes, SERP URLs, and search volume data.

Instructions

Get keyword rankings for a campaign.

Retrieves detailed keyword ranking data including Google, Google Mobile, Google Places, and Bing rankings with change tracking.

Args: campaign_id: The campaign ID (required) offset: Pagination offset (default: 0) limit: Maximum number of results (default: 50)

Returns: JSON array of keyword rankings with search engine positions, ranking changes, SERP URLs, and search volume data

Examples: - get_keyword_rankings(campaign_id=123) - Get rankings for campaign 123 - get_keyword_rankings(campaign_id=123, limit=100) - Get more rankings

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
offsetNo
campaign_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

The description discloses the return format (JSON array with SERP URLs and search volume) and pagination parameters, adding some behavioral context. However, with no annotations, it does not explicitly state read-only semantics, nor does it explain the 'change tracking' behavior or any potential limitations in detail.

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 well-structured with Args, Returns, and Examples sections. It is concise, front-loaded with the main purpose, and every section earns its place, with examples adding practical clarity.

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 description covers the core purpose, all parameters, and return values, and is supported by an output schema. However, it lacks differentiation from similar sibling tools and does not elaborate on the 'change tracking' aspect, which somewhat limits completeness for a tool with no annotations.

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 description provides clear explanations for all three parameters, including the required campaign_id and the pagination semantics for offset and limit. Since the schema has zero description coverage, this compensation is essential and well executed, though the 'default' values simply repeat schema information.

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 that the tool retrieves keyword rankings for a campaign, listing specific data types (Google, Google Mobile, Google Places, Bing) and change tracking. However, it does not distinguish itself from the sibling tool get_campaign_rankings, which may serve a similar purpose.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives such as list_keywords or get_campaign_rankings. There are no explicit use cases, preconditions, or exclusions, leaving the agent without context for tool selection.

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