Skip to main content
Glama

AdsAgent — Meta Ads MCP

setup_analyze_products

Prepare initial product groups from stored insights when the workspace has none; preserve existing groups. No arguments. May save product setup and returns readiness only. Use setup_get_status for status checks; operator_review_required needs operator diagnosis

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": "setup_analyze_products"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

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. Changed6 schema fields changed
    • addedOutput schema / else / then / properties / category
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / expected
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / else / then / properties / failure_kind
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / responsibility_hint
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / route
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / user_visible
      Added value: +{
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / connection_context
      Added value: +{
      +  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      +  "type": "string"
      +}
  4. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare write-ness (readOnlyHint=false) and non-destructiveness, and the description is consistent with them: 'May save product setup' clarifies the write is conditional, and 'preserve existing groups' confirms it won't clobber data. The mention that operator_review_required requires operator diagnosis adds genuine operational context that annotations don't carry, though permission or failure behavior is still thin.

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?

The core purpose and precondition lead, and every clause carries information about effect, side effects, or routing. The clipped, semicolon-chained phrasing ('returns readiness only', 'operator_review_required needs operator diagnosis') is efficient but reads as notes rather than prose.

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?

For a zero-parameter setup action with an output schema and full annotation coverage, the description covers purpose, precondition, mutation behavior, return scope ('readiness only'), and the sibling to use for status. Only the meaning of an operator_review_required outcome is left to inference.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With zero parameters the baseline is 4, and the description's 'No arguments' explicitly confirms the empty schema, removing any doubt that the tool is self-configuring from stored insights.

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 states a specific action and object: 'Prepare initial product groups from stored insights', and adds the governing precondition ('when the workspace has none'), so the agent knows exactly what the tool produces. It falls short of a 5 only because 'product groups' remains domain jargon that isn't anchored to the products_* siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear use condition (workspace has no product groups), a guard against re-running (preserve existing groups), and names the alternative for status checks (setup_get_status). What it lacks is an explicit 'do not use when' for the other setup_* tools such as setup_ensure_baseline_templates or setup_readiness_check.

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