Skip to main content
Glama

pause

Idempotent

<tool_description> Pause an active media buy campaign. Can be reactivated later. </tool_description>

<when_to_use> When an advertiser wants to temporarily stop a running campaign. Only works on active campaigns. </when_to_use>

<combination_hints> activate → pause (temporary) or cancel (permanent). Paused campaigns can be reactivated with activate. </combination_hints>

<output_format> Updated media buy with paused status. </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": "pause"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoReason for pausing
media_buy_idYesMedia buy UUID to pause

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.4/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, and the description adds real context on top: the reversibility guarantee, the precondition that the campaign must be active, and the returned state ('Updated media buy with paused status'). It does not cover failure behavior (e.g., what happens when pausing a non-active campaign) or whether an audit reason is required, so it falls just short of full disclosure.

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?

Front-loaded with the core action, then cleanly sectioned into when-to-use, combination hints, and output format; every sentence carries information. The section-tag formatting is slightly heavier than plain prose and the output_format line duplicates information an annotation-aware agent could partly infer.

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 two-parameter mutation with no output schema, the definition covers purpose, precondition, reversibility, sibling routing, and return state. Nothing an agent needs in order to call 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 description coverage is 100%, so media_buy_id and reason are already documented in the schema. The description adds no parameter-level detail such as whether reason is recorded or surfaced elsewhere, so baseline 3 applies.

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 ('Pause') and resource ('an active media buy campaign'), plus the key state outcome ('Can be reactivated later'). Combined with the combination hints contrasting pause vs cancel vs activate, an agent can distinguish this from every relevant sibling without opening a 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?

Explicit when-to-use ('advertiser wants to temporarily stop a running campaign'), explicit precondition ('Only works on active campaigns'), and explicit alternatives ('activate → pause (temporary) or cancel (permanent)'). Nothing about tool selection is left to inference.

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.