Skip to main content
Glama

ads_ad_get

Read-onlyIdempotent

Get one ad with its latest synced metrics. Returns the ad object: { id, kind, platform, platform_id, ad_account_id, campaign_id, ad_set_id, name, status, platform_status, budget, schedule, targeting, review, metrics, ... }. Pass live=true to refetch it and its metrics from the network first.

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": {
      "ad_id": "<ad_id>"
    },
    "name": "ads_ad_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
liveNoRefetch from the ad network before answering instead of using the last synced copy
ad_idYesAd id: the Postproxy id (id field of an ad), not the network's platform_id
profile_group_idNoProfile group hashid, to scope the call to one profile group. Usually not needed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds real context: by default it reads a cached/synced copy, while live=true triggers a network refetch with latency implications. There is a mild tension with openWorldHint=false given the network refetch, but not a direct contradiction of the stated hints.

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?

Two sentences, front-loaded with the action and the return shape, then the optional live behavior. The field enumeration is slightly long but useful since no output schema exists; every part earns its place.

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?

With no output schema, the description compensates by listing the returned ad fields, and the schema fully documents parameters. It stops short of stating error/not-found behavior or what 'synced' means in terms of freshness, which would complete the picture.

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 coverage is 100%, so all three parameters are already documented, including the distinction between ad_id (Postproxy id) and platform_id. The description's mention of live=true restates the schema rather than adding new meaning, so the baseline 3 applies.

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 verb and resource: 'Get one ad with its latest synced metrics', and lists the returned fields. The singular 'one ad' plus the required ad_id clearly separates it from list/analytics siblings, though no sibling is named explicitly.

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?

Implies the default usage (read the last synced copy) and offers the live=true variant, which is a genuine usage condition. However, it never says when to prefer this over ads_ad_analytics or how it relates to ads_ad_update/get flows, and gives no 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.