Skip to main content
Glama
OrbiAds

OrbiAds

Official

line_item_lifecycle

Transition a GAM line item between lifecycle states: activate, pause, archive, or resume. Manage delivery status changes with confirmation for destructive archives.

Instructions

Perform lifecycle status transitions on a GAM Line Item (activate, pause, archive, resume).

MODE: write AUTH: OAuth 2.0 required CREDITS: 0.5 credits. Confirmation token required for archive. OUTPUT: Returns {line_item_id, previous_status, new_status} WHEN TO USE: Use this for status transitions only. For data updates (targeting, budget, dates), use the line_items update action. DESTRUCTIVE: archive cannot be undone from the API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
line_item_idYesGAM Line Item ID.
lifecycle_actionYesactivate: start delivery. pause: stop delivery temporarily. resume: restart a paused line item. archive: permanently remove from serving (destructive).
network_codeYesGAM network code.
confirmation_tokenNoRequired for lifecycle_action=archive. Obtain from a prior estimate_cost call.
Behavior5/5

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

No annotations provided, so description carries full burden. Discloses destructive nature of archive, OAuth 2.0 requirement, 0.5 credits, output structure, and confirmation token necessity.

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?

Very concise, each sentence adds value. Front-loaded with key info, uses bullet points for clarity, and avoids unnecessary words.

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?

No output schema, but description includes output structure. Covers auth, credits, destructive action, and prerequisite for archive. Complete for a lifecycle tool.

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?

Input schema has 100% coverage with clear descriptions. Description adds context like confirmation token from estimate_cost call, but schema already provides good understanding.

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?

Clearly states it performs lifecycle status transitions (activate, pause, archive, resume) on a GAM Line Item. Distinguishes from sibling tool 'line_items' which is for data updates.

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

Usage Guidelines5/5

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

Explicitly says when to use: only for status transitions. For data updates, use line_items update action. Also mentions confirmation token requirement for archive.

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