Skip to main content
Glama
meta-ads-mcp

meta-ads-mcp

by 1nc0gn30

meta_get_adset

Read-only

Retrieve full details for a single ad set, including targeting spec, optimization goal, schedule, and budget.

Instructions

Get full details for a single ad set including targeting spec, optimization goal, schedule, and budget.

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": {
      "adset_id": "<adset_id>"
    },
    "name": "meta_get_adset"
  }
}

Input Schema

NameRequiredDescriptionDefault
adset_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds useful scope by naming which fields come back, but says nothing about authentication, permission requirements, error behavior for invalid or inaccessible IDs, or whether the payload is large.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler, and the enumerated return fields arrive immediately after the core purpose. Nothing could be cut without losing information.

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 appropriately compensates by naming the key fields returned. For a one-parameter read tool this is close to complete; only the ID format and failure behavior are unaddressed.

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?

There is one parameter with 0% schema description coverage, so the description carries the burden but does not explain adset_id's expected format or whether it takes a bare numeric ID or a prefixed form. The parameter's meaning is largely self-evident from its name, which keeps this at an adequate level rather than poor.

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?

The description uses a specific verb and resource ("Get full details for a single ad set") and enumerates the returned content: targeting spec, optimization goal, schedule, and budget. The word "single" implicitly separates it from the list_adsets sibling, but no sibling is named explicitly, so differentiation is inferred 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?

Usage is implied: call this when you already have one ad set and need its configuration. There is no explicit when-to-use, when-not-to-use, or named alternative (e.g., meta_list_adsets for enumeration or meta_update_adset for changes), and no mention that adset_id is required.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.