Skip to main content
Glama
trakkr-aisearch

OpenAI Ads MCP

get_insights

Read-onlyIdempotent

Query advertising performance insights across account, campaign, ad group, or ad levels with customizable fields, filters, and time ranges.

Instructions

Get performance insights for account, campaign, ad group, or ad scope. Supports fields, filters, sort, product/country/device segments, time ranges, and cursor pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeYes
entity_idNo
time_granularityNodaily
time_rangeNo
segmentsNo
fieldsNo
filtersNo
sortNo
limitNo
afterNo
beforeNo
response_formatNoconcise
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint, idempotentHint, so description does not need to repeat safety. It adds value by disclosing supported features (fields, filters, sort, segments, time ranges, cursor pagination), which goes beyond annotations. No contradictions.

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?

Single sentence that efficiently lists features. Could be improved with bullet points for readability, but minimal waste. Appropriate length for the complexity.

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?

Given 12 parameters, no output schema, and 0% schema descriptions, the description provides high-level context but lacks details on output structure, parameter formats, or required scope usage. Sufficient for basic understanding but not for precise invocation.

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?

With 0% schema description coverage for 12 parameters, the description mentions several capabilities (fields, filters, segments, etc.) but does not map to parameter names or explain formats (e.g., how to specify time_range or segments). Partially compensates but leaves many parameters undefined.

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?

Description clearly states 'Get performance insights' and lists scopes (account, campaign, ad group, ad), which distinguishes it from sibling tools that retrieve single entities. However, it could be more specific about the type of insights (e.g., metrics).

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 for aggregated performance data vs. entity retrieval, but does not explicitly state when to use or not use this tool compared to alternatives like get_account or list_campaigns. No exclusion criteria or prerequisites provided.

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/trakkr-aisearch/openai-ads-mcp'

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