Skip to main content
Glama

pause_tiktok_campaign

Stop spending on a running TikTok campaign while preserving settings. Use to temporarily halt ad delivery and costs.

Instructions

Pause a running TikTok campaign to stop all spending. Settings preserved — use enable_tiktok_campaign to resume. Requires Pro plan or higher ($69/mo).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
campaign_idYesTikTok campaign ID to pause.

Implementation Reference

  • The handler for the 'pause_tiktok_campaign' tool, which updates the TikTok campaign status to 'DISABLE' via the TikTok API.
    case 'pause_tiktok_campaign': {
        const denied = licenseCheck('tiktok');
        if (denied) return fail(denied);
        if (!args.campaign_id) return fail('campaign_id required.');
        await tikTokPost('/campaign/status/update/', {
            advertiser_id: cfg.tikTokAdvId(), campaign_ids: [args.campaign_id], operation_status: 'DISABLE',
        });
        return ok({ success: true, campaign_id: args.campaign_id, status: 'DISABLE', message: 'Campaign paused.' });
    }
  • The schema definition for the 'pause_tiktok_campaign' tool within the TOOLS array.
        name: 'pause_tiktok_campaign',
        description: 'Pause a running TikTok campaign to stop all spending. Settings preserved — use enable_tiktok_campaign to resume. Requires Pro plan or higher ($69/mo).',
        inputSchema: {
            type: 'object',
            properties: { campaign_id: { type: 'string', description: 'TikTok campaign ID to pause.' } },
            required: ['campaign_id'],
        },
    },
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses key behavioral traits: the action is a mutation (pause), it preserves settings, it stops spending, and it has a plan requirement. However, it doesn't mention potential side effects like timing delays or error conditions.

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?

The description is front-loaded with the core purpose, followed by additional context in a structured way. Every sentence adds value: the first states the action and outcome, the second provides behavioral context and alternative, and the third specifies requirements.

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 mutation tool with no annotations and no output schema, the description does well by covering purpose, usage, and key behaviors. However, it lacks details on return values or error handling, which would be helpful given the complexity of pausing a campaign.

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 the schema already documents the single parameter 'campaign_id'. The description doesn't add any parameter-specific details beyond what the schema provides, such as format examples or constraints, meeting the baseline for high coverage.

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 specific action ('pause') on a specific resource ('running TikTok campaign') with the explicit outcome ('stop all spending'). It distinguishes from the sibling tool 'enable_tiktok_campaign' by mentioning it as the alternative for resuming.

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?

It provides explicit guidance on when to use this tool (to pause a running campaign and stop spending) and when to use an alternative (use enable_tiktok_campaign to resume). It also specifies prerequisites (requires Pro plan or higher).

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/Nolas-Shadow/agent1st-ads-mcp'

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