Skip to main content
Glama

AdsAgent — Meta Ads MCP

setup_begin_channel_connect

Create a private expiring authorization ticket/receipt. User consents in browser at authorize_url; no binding, replacement or ad changes. After user confirmation, setup_check_channel_connect once with connect_id; no auto-poll

Input Schema

NameRequiredDescriptionDefault
channelYes

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

A3.8/5.0
Behavior4/5

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

Adds real behavioral context beyond the annotations: the ticket is private and expiring, requires an out-of-band browser consent step, and explicitly does not bind, replace, or touch ads. That 'does not do' clause is valuable for a non-readOnly, openWorld tool. It doesn't say how long the ticket lives or what happens if the user never consents, so not a 5.

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?

Three tight clauses with the core action front-loaded and no filler. The semicolon-compressed phrasing ('no binding, replacement or ad changes') is jarring and slightly ambiguous, which keeps it from a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 no explanation, and annotations cover the safety profile. What remains for the description — the two-step consent/check flow, the no-polling constraint, and the scope of side effects — is all present, so an agent can execute the flow correctly without opening anything else.

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?

The single parameter 'channel' has 0% schema description coverage and the description never mentions it — no allowed values, no indication of what a channel is here. Instead the description references authorize_url and connect_id, which are outputs/artifacts rather than the input. With coverage at 0%, the description needed to carry the parameter's meaning and does not.

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 ('Create a private expiring authorization ticket/receipt') and immediately names the follow-up sibling setup_check_channel_connect, so the agent knows what this step is in the flow. It falls short of 5 because the object being created — a 'channel connect' ticket — is never grounded: the sibling setup_begin_facebook_connect is not mentioned, so the agent cannot tell which 'channel' this is for.

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?

Gives explicit sequencing: user consents in the browser at authorize_url, then call setup_check_channel_connect once with connect_id, with a clear negative constraint ('no auto-poll'). This is stronger than typical context-setting. The gap is that it never distinguishes this from setup_begin_facebook_connect or says when this tool is the wrong choice.

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