Skip to main content
Glama

Create budget schedule

meta_create_budget_schedule

Schedule a campaign budget increase for a time window (Unix seconds). ABSOLUTE budget_value is in minor units; MULTIPLIER is a percentage. AdChat can't undo it: say so when you ask Yes or No. Changes the ad account: tell the user exactly what will change and call only after their Yes. If the result lists rule reasons, nothing changed: show them, ask again, and only after a new Yes retry with acknowledge_rules: true.

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": {
      "campaign_id": "<campaign_id>",
      "budget_value": "<budget_value>",
      "budget_value_type": "<budget_value_type>",
      "time_start": "<time_start>",
      "time_end": "<time_end>"
    },
    "name": "meta_create_budget_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
time_endYes
time_startYes
campaign_idYesA string, never a number
budget_valueYes
acknowledge_rulesNoOnly on a retry after the user's Yes to rule reasons; never on a first call.
budget_value_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare the generic profile (readOnlyHint=false, idempotentHint=false, destructiveHint=false, openWorldHint=true); the description adds the non-generic behavior: the change is irreversible in AdChat, consent must be obtained and stated, and a rule-blocked response means nothing changed. That failure-and-retry semantics is exactly the context annotations cannot carry. 'Can't undo it' is a warning about irreversibility rather than a claim of destructive deletion, so it does not contradict destructiveHint=false.

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?

Dense but front-loaded: the core action and units come first, then the consent and retry protocol. Every sentence carries operational weight, though the consent instructions are packed into long clauses that could be broken for faster scanning.

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 mutating, six-parameter tool with no output schema, the description covers the critical unknowns: units, time encoding, consent requirement, and the rule-blocked response shape. It does not describe the success return value or whether the schedule is visible elsewhere (e.g., pending changes), which is a minor residual gap.

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 coverage is only 33%, so the description must compensate, and it does: budget_value is unit-dependent (minor units for ABSOLUTE, percentage for MULTIPLIER), and time_start/time_end are Unix seconds. acknowledge_rules retry semantics are reinforced. campaign_id is left entirely to the schema, which is the only notable gap.

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 (schedule a campaign budget increase) plus the scoping dimension (a time window in Unix seconds). No sibling tool covers budget scheduling, and the description makes the object of the operation unmistakable without opening the 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?

Gives explicit preconditions for invocation: call only after the user's explicit Yes, and describe the exact change first. It also defines the retry path — if the result lists rule reasons, show them, ask again, and only re-call with acknowledge_rules: true after a new Yes — which is a when-to-use rule no schema field could convey.

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.