Skip to main content
Glama

Meta get selected campaign stats

meta_get_selected_campaign_stats
Read-only

Selected Meta campaigns with aggregated stats. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "meta_get_selected_campaign_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
extraNo
date_toNo
user_idNo
client_idNo
date_fromNo
user_emailNo

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?

The readOnlyHint and openWorldHint annotations already declare the safety profile, so the description only needs to add context. It does supply the useful default that client_id falls back to the active brand, but says nothing about how the aggregation behaves, what date range applies when date_from/date_to are omitted, or what happens with a bad client_id.

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 with no filler. The lead is a sentence fragment rather than a clear statement of action, but nothing is wasted and the parameter notes follow logically.

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 explained. Everything else is thin: four of six parameters are undocumented, date scoping is undefined, and the meaning of 'selected' is left open — inadequate for a stats tool whose schema provides no descriptions at all.

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 6 parameters, so the description must carry the burden and does not. It explains client_id and extra only, leaving date_from, date_to, user_id, and user_email entirely undocumented — including expected date formats and whether user_id or user_email take precedence.

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?

The description identifies the resource (Meta campaigns with aggregated stats), but 'Selected' is never defined — it is not stated whether selection means a filter, a saved list, or all campaigns — and there is no verb such as 'retrieve' or 'list'. With siblings like meta_get_campaign_stats and meta_get_overall_stats, the description gives no basis for telling them apart.

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 instead of meta_get_campaign_stats, meta_get_overall_stats, or the breakdown tools. The only conditional guidance concerns the client_id default, which 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.