Skip to main content
Glama

campaigns_query

Read-onlyIdempotent

Query Apple Ads campaigns with endpoint-specific filters, sorting, pagination, time ranges, and report fields to retrieve bounded campaign data.

Instructions

Query bounded campaigns with endpoint-specific filters.

Input Schema

NameRequiredDescriptionDefault
idNolegacy exact campaign ID shortcut
fieldsNoreport fields to return
filtersNoendpoint-specific filter conditions
groupByNoreport dimensions
optionsNoreport or insight options
profileYeslocal Apple Ads profile name
sortingNoordered sort fields
timeRangeNoreport or insight time range
campaignIdNoexact campaign ID shortcut
paginationNobounded result window
adAccountIdYesApple Ads ad account ID

Output Schema

NameRequiredDescriptionDefault
dataNopayload
errorNo
summaryYes
rateLimitNo
paginationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.5/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is covered. The description adds only "bounded" and "endpoint-specific" without explaining what bounds apply (pagination caps, result limits) or any auth/account-scope behavior, so it contributes little beyond the structured metadata.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler, which is good structurally, but concision here comes at the cost of substance — the one vague qualifier "bounded" is doing work it cannot support. Appropriately short, insufficiently informative.

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

Completeness2/5

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

For an 11-parameter tool with nested filter/sorting/pagination objects and required profile/adAccountId, the description leaves critical selection context unexplained: no mention that it is a list/search endpoint, no guidance on using the legacy "id" shortcut versus filters, and no interaction with the existing output schema. It is not complete enough to guide confident selection.

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?

Schema description coverage is 100%, so every one of the 11 parameters is already documented in the schema, including nested filter/sorting/pagination objects. The description adds no extra semantics (e.g., how "id" versus "campaignId" shortcuts interact), so baseline 3 applies.

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

Purpose3/5

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

States the verb and resource ("Query ... campaigns") so the agent knows it is a campaign read operation, but "bounded" is never defined and nothing distinguishes it from siblings like campaign_get, campaign_report, campaign_audit, or campaign_countries_preview. The agent must infer this is the general list/report query endpoint.

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?

No when-to-use guidance at all: it does not say when to prefer this over campaign_get (single campaign), campaign_report (performance metrics), or campaign_audit. "endpoint-specific filters" gestures at flexibility without telling the agent which situations call for this tool.

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

Deploy Server

Other Tools