Skip to main content
Glama

Meta get campaign details

meta_get_campaign_details
Read-only

One Meta campaign with stats. 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": {
      "campaign_id": "<campaign_id>"
    },
    "name": "meta_get_campaign_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
extraNo
date_toNo
user_idNo
client_idNo
date_fromNo
user_emailNo
campaign_idYes
date_presetNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/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 safety is covered. The description adds one genuinely useful behavioral note — that "extra passes any other field the app accepts" — revealing an untyped escape hatch not visible in the schema. It says nothing about scoping, error behavior, or how stats are computed over the date range.

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 short sentences, front-loaded with what the tool returns, followed by the two non-obvious parameter hints. Nothing is padded, though "any other field the app accepts" is vague enough that it doesn't fully earn its space.

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?

This is an 8-parameter tool with zero schema description coverage; the output schema covers return values, but the input side is largely undocumented. An agent calling it knows what it gets back but must guess at date formatting, preset-vs-range precedence, and user scoping.

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%, so the description must carry the load, but it only touches client_id and extra. The required campaign_id plus date_from, date_to, date_preset, user_id, and user_email — over half the parameters — are left entirely unexplained, including date format and precedence between date_preset and the explicit date bounds.

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?

"One Meta campaign with stats" names a specific resource and payload, so an agent knows it reads a single campaign record enriched with stats. It never distinguishes itself from close siblings such as meta_get_campaign or meta_get_campaign_stats, which is what separates a 4 from a 5.

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 guidance on when to pick this over meta_get_campaign or meta_get_campaign_stats, nor any prerequisite or exclusion. The only conditional language ("client_id defaults to the active one") is parameter behavior, not tool selection.

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.