Skip to main content
Glama

numbers_campaigns

Read-onlyIdempotent

Ad campaigns by spend, biggest first, for one period (as numbers_summary), each with the sales its own platform claims and that claim ÷ spend. before_spend and spend_change are in cents and present only when both periods are covered. platform: meta, google or amazon_ads, or empty for all.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "numbers_campaigns"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNolast7
platformNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), so the description earns credit for going further: result ordering, currency units in cents for before_spend and spend_change, the conditional presence rule tied to two-period coverage, and the divisor semantics of the claimed-sales ratio. It still does not say whether results are paginated or capped.

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 tight sentences, front-loaded with what the tool returns and how it is sorted, then the unit/conditional caveats, then the argument enumeration. No filler or restated boilerplate.

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 two-parameter read-only list tool with no output schema and no schema descriptions, the definition still conveys the row shape (spend, claimed sales, claim ÷ spend, optional deltas), ordering, units, and valid platform inputs. Nothing essential to calling it correctly is missing.

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 description coverage is 0% and no enums are declared, so the description carries the burden. It fully enumerates platform values (meta, google, amazon_ads, empty for all) and anchors period to numbers_summary semantics, though it never lists the accepted period strings despite a 'last7' default.

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?

States a specific resource and ordering: 'Ad campaigns by spend, biggest first, for one period', plus the derived metrics returned for each row (claimed sales and claim ÷ spend). It is not confused with numbers_items or numbers_source, though it never explicitly says how it differs from those siblings.

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?

Usage is implied by the parenthetical '(as numbers_summary)', which tells the agent the period argument behaves like the summary tool's, and by the note that before_spend/spend_change only appear when both periods are covered. There is no explicit when-to-use versus numbers_summary or numbers_items, and no stated exclusions.

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.