Skip to main content
Glama

Meta get campaign

meta_get_campaign
Read-only

One Meta campaign. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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_account_id": "<ad_account_id>",
      "campaign_id": "<campaign_id>"
    },
    "name": "meta_get_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
extraNo
user_idNo
client_idNo
user_emailNo
campaign_idYes
ad_account_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description contributes the client_id default-to-active-brand behavior and the fact that extra is a passthrough for app-accepted fields, which is genuine added context. It says nothing about what happens when the campaign or ad account is not found, or whether errors are raised or empty, which is the remaining gap.

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 compact sentences with the parameter notes front-loaded and no filler. It is efficient, though the terseness is part of the problem — the budget saved is not spent on disambiguating siblings.

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?

An output schema exists so return values need not be described, but for a six-parameter tool with zero schema coverage and many similar siblings the description is too thin. It omits ID formats, lookup failure behavior, and any differentiation from the campaign details/stats/breakdown variants.

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% across six parameters, so the description must carry the burden and it only explains two: client_id (brand selector, defaults to active) and extra (field passthrough). The required ad_account_id and campaign_id get no format or scoping guidance, and user_id/user_email are not mentioned at all.

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?

"One Meta campaign" signals a single-record retrieval but names no verb and gives no scope beyond the noun. With siblings like meta_get_campaign_details and meta_get_campaign_stats in the catalog, the definition does nothing to separate this plain campaign fetch from those alternatives, leaving the agent to guess which one returns the base record.

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 statement of when to use this tool, when not to, or which sibling to pick for stats, details, creatives, or breakdowns. The agent gets no routing signal at all despite a crowded set of near-identical Meta getters.

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.