Skip to main content
Glama
ads-mcp-readonly

ads-mcp-readonly

by porrasbrand

Campaign performance

get_campaign_performance
Read-onlyIdempotent

Retrieve campaign performance metrics—spend, clicks, calls, conversions, and leads—for a specified account and date range. Use this read-only query to compare campaign results.

Instructions

Spend, clicks, calls, conversions or leads per campaign for a date range. Read-only.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "account_id": "<account_id>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "get_campaign_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes
account_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is known. The description repeats 'Read-only' and lists the metrics returned, but adds no detail about authentication, pagination, aggregation behavior, or result limits.

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 two short sentences and front-loads the useful metric and scope information. The trailing 'Read-only' sentence is redundant with annotations but does not make the definition verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only tool with three required parameters, the description names the metrics and date range but omits account_id semantics and any return structure. With no output schema, it should say more about what the response looks like or how campaigns are grouped.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It implies that from/to are the date range, but it never explains account_id or how campaign grouping relates to parameters, leaving one required parameter completely undocumented in both schema and description.

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 states the specific metrics and resource: spend, clicks, calls, conversions or leads per campaign for a date range. It is clear what the tool returns, but it does not explicitly differentiate itself from siblings like get_account_summary or run_readonly_query.

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?

There is no guidance on when to use this tool versus get_account_summary, list_accounts, or run_readonly_query. The only contextual hint is the date-range requirement, which does not tell an agent which alternative to choose.

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