Skip to main content
Glama

Connect an ad account

connect_account

Returns a single-use link where the ad account owner grants us access. The link must be opened in a regular browser. Free.

Input Schema

NameRequiredDescriptionDefault
platformNometa (default) for Facebook and Instagram ads, google for Google Ads accounts, Google Analytics properties and Search Console sites.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations declare a non-read-only, non-idempotent, non-destructive operation but say nothing about the mechanism. The description adds meaningful traits beyond that: the returned link is single-use, it is a grant-of-access flow, and it must be opened in a real browser rather than programmatically. It stops short of explaining expiry, latency, or what happens if the link is never used.

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 short sentences, front-loaded with the return value and followed by the operational constraint and cost. 'Free.' is a terse fragment but earns its place as a cost signal. No wasted 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 one-parameter tool with no output schema, the description covers what is produced (a single-use link), how it must be used (regular browser), and that it carries no cost. The main gaps are the absence of any statement about prerequisites or when the returned link expires.

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?

Schema description coverage is 100% and the single platform parameter is fully documented in the schema, so the schema carries the semantics. The description never mentions platform at all, so it adds nothing beyond the baseline for a fully-covered parameter set.

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 concrete outcome — returning a single-use link that grants access to an ad account — which is a specific verb+resource combination an agent can act on. It does not explicitly differentiate itself from siblings like audit_account or the platform-specific meta_ads_* tools, so it stops short of a 5.

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 description implies usage context (this is how you get authorization for an ad account) and gives one hard operational constraint — the link must be opened in a regular browser. It never states when to call this versus alternatives, nor that it is a prerequisite before the platform read/write tools, leaving the agent to infer sequencing.

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.