Skip to main content
Glama

AdsAgent — Meta Ads MCP

creatives_get_batch

Read-only

Get 1-50 owned creatives by selection_key: per-item status, details and signed links

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": {
      "selection_keys": "<selection_keys>"
    },
    "name": "creatives_get_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNo
selection_keysYes

Output Schema

NameRequiredDescriptionDefault
messageNo
retryableNo
support_refNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / connection_context
      Removed value: -{
      -  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      -  "type": "string"
      -}
  2. Changed3 schema fields changed
    • addedOutput schema / else / properties / items / items / properties / creative / properties / folder_path
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / properties / items / items / properties / creative / properties / library_source
      Added value: +{
      +  "enum": [
      +    "upload",
      +    "cloud"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / else / properties / items / items / properties / creative / properties / read_only
      Added value: +{
      +  "type": "boolean"
      +}
  3. Changed6 schema fields changed
    • addedOutput schema / then / properties / category
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / then / properties / expected
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / then / properties / failure_kind
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / then / properties / responsibility_hint
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / then / properties / route
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / then / properties / user_visible
      Added value: +{
      +  "type": "boolean"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / connection_context
      Added value: +{
      +  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      +  "type": "string"
      +}
  5. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, non-destructive, closed-world), so the description's job is to add operational context. It adds the concrete batch limit (1-50), the fact that results carry per-item status (implying partial success/failure), and that signed links are returned — all beyond what annotations declare.

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?

A single compact clause front-loads the operation and the cap, then lists what is returned. Dense and mostly efficient, though the colon-chained phrasing is slightly compressed and the omitted cursor leaves a gap rather than a word to cut.

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?

An output schema exists, so return-shape explanation is not required, and the batch cap and per-item status give useful framing. Still missing for a 2-parameter, zero-coverage schema is any definition of selection_key semantics, invalid-key handling, and the role of cursor.

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 compensate and it largely does not: it mentions selection_key only as a lookup mechanism without saying what a selection key is or how items missing/invalid are handled, and the 'cursor' parameter is never mentioned at all despite being the only other input.

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 ... owned creatives'), scoping to owned assets and to a batch-by-key lookup, which separates it from creatives_list. It does not explicitly name the sibling it complements (creatives_get), so differentiation is implied rather than stated.

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 'by selection_key' and 'owned' qualifiers imply the use case (fetching specific known creatives in bulk rather than browsing), and the 1-50 cap implies batching. But there is no explicit when-to-use/when-not guidance versus creatives_get or creatives_list, nor any prerequisites.

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.

Resources