Skip to main content
Glama
OrbiAds

OrbiAds

Official

disconnect_gam

Revoke OAuth credentials and permanently remove a Google Ad Manager network from your tenant. This irreversible action disconnects all operations for that network.

Instructions

Revoke and permanently remove the GAM OAuth credentials for a network from the tenant.

MODE: write (destructive) AUTH: OAuth 2.0 required CREDITS: 0 (free) OUTPUT: Returns {network_code, disconnected_at} SIDE EFFECTS: All OrbiAds operations requiring this network will fail after disconnection. The network must be re-authorized via initiate_gam_auth to restore access. WHEN TO USE: Use when intentionally removing a network from the tenant (e.g., end of contract). Confirmation token required — this action is irreversible via API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
network_codeYesGAM network code to disconnect.
confirmation_tokenYesWrite-confirmation token. Required — disconnection is irreversible.
Behavior5/5

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

Despite no annotations, the description thoroughly discloses mode (destructive), auth requirements, side effects, and irreversibility, giving full behavioral context.

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?

Well-organized with labeled sections, no unnecessary words, and all essential information is front-loaded.

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?

Covers all relevant aspects: purpose, usage, behavior, output format, and side effects. No output schema needed given the explicit output description.

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?

Schema already describes both parameters; the description reinforces the critical role of confirmation_token, adding value beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Revoke and permanently remove') and the resource ('GAM OAuth credentials for a network from the tenant'), making it distinct from sibling tools like initiate_gam_auth.

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?

Explicitly provides a use case ('end of contract') and notes the requirement of a confirmation token. Could be improved by mentioning alternatives, but the sibling list provides context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/OrbiAds/Orbiads-GAM-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server