Skip to main content
Glama

activate

<tool_description> Activate an approved media buy to start serving. Requires creative to be submitted first. </tool_description>

<when_to_use> After submit_creatives, when ready to go live with the campaign. </when_to_use>

<combination_hints> submit_creatives → activate → track_enriched_snippet (for enriched snippet buys). Can be paused later with pause, or cancelled with cancel. </combination_hints>

<output_format> Activated media buy with won_at timestamp. </output_format>

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "media_buy_id": "<media_buy_id>"
    },
    "name": "activate"
  }
}

Input Schema

NameRequiredDescriptionDefault
media_buy_idYesMedia buy UUID to activate

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / media_buy_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true, idempotentHint=false), so the description only needs to add context — and it does: the creative-submission precondition and the resulting state ('won_at timestamp'). It does not spell out what happens on a repeat call or what failure states look like, which keeps it below 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action and precondition, then structured into when-to-use, combination, and output blocks. Every line carries distinct information — no restatement of the name or filler.

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?

For a one-parameter mutation with no output schema, the description supplies the precondition, the lifecycle position, sibling transitions, and the return value ('Activated media buy with won_at timestamp'). Nothing an agent needs to invoke it correctly is missing.

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 coverage is 100% and there is only one parameter, so the schema already fully documents media_buy_id including UUID format. The description adds only an implicit constraint via 'approved media buy' (the buy must already be in an approved state); it offers no further syntax or selection guidance, so the baseline 3 is right.

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?

States a specific verb and resource ('Activate an approved media buy to start serving') plus the precondition ('Requires creative to be submitted first'). An agent can distinguish it from siblings like pause, cancel, and submit_creatives without opening any schema.

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?

The when_to_use block explicitly names the preceding step ('After submit_creatives, when ready to go live') and the combination_hints name the alternatives ('Can be paused later with pause, or cancelled with cancel'). This is explicit when-to-use plus named alternatives, which is the top bar.

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.