Skip to main content
Glama

Opus Growth, Ad Platforms MCP Connector

Manage ChatGPT Ads Spend Limit

manage_chatgpt_ads_spend_limit
Destructive

Creates, changes or removes a ChatGPT Ads account spending limit (date-range window or recurring daily limit).

action: create_window | update_window | delete_window | set_daily | remove_daily. Dates are YYYY-MM-DD in the account time zone; end_date is EXCLUSIVE (a window for October 1–7 ends on 2026-10-08). amount is in the account currency (a window's total, or the allowance per day for set_daily); OpenAI rejects lowering it below spend already recorded. Windows cannot overlap each other or the daily limit; an active window's start date cannot move; completed windows cannot change. set_daily creates or edits the daily limit — a new one starts tomorrow at the earliest (start_date defaults to the earliest allowed day), no_end_date=true makes it open-ended. The daily-limit revision OpenAI requires is read for you just before the change. Removing or raising an exhausted limit lets delivery resume, so the dry run states the account-wide effect. Needs an ad-account admin key with billing permission; otherwise the tool says so. confirm=false returns a dry run.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
io_idNo
actionYes
amountNo
accountNo
confirmNo
end_dateNo
window_idNo
start_dateNo
no_end_dateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. Added
  6. Removed
  7. Added
  8. Removed
  9. Added
  10. Removed
  11. Added
  12. Removed
  13. Added
  14. Removed
  15. Added
  16. Removed
  17. Added
  18. Removed
  19. Added
  20. Removed
  21. Added
  22. Removed
  23. Added
  24. Removed
  25. Added
  26. Removed
  27. Added
  28. Removed
  29. Added
  30. Removed
  31. Added
  32. Removed
  33. Added
  34. Removed
  35. Added
  36. Removed
  37. Added
  38. Removed
  39. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructive=true and idempotent=false, yet the description adds substantial context beyond them: OpenAI rejects lowering below recorded spend, windows cannot overlap, completed windows are immutable, the required revision is auto-read, and the dry run reports the account-wide delivery effect. It also discloses the auth requirement (admin key with billing permission) and the tool's own failure message.

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?

Information-dense and front-loaded, with the action enum second so the operational mode is established early. It is long and uses backtick-heavy inline notation, but nearly every clause adds a real constraint rather than restating the name.

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 destructive, 10-parameter mutation tool this is thorough: auth, dry-run behavior, immutability rules, date semantics, and delivery consequences are all present, and an output schema exists so return values need no explanation.

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?

With 0% schema coverage across 10 parameters, the description carries the full burden and does well for the important ones: the action enum, end_date exclusivity with a concrete example, amount as total vs. per-day, no_end_date and its start_date default, and confirm. It leaves name, io_id, account, and window_id unexplained, so it falls short of complete 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?

Opens with a specific multi-verb statement of the resource and its two modes (date-range window vs. recurring daily limit), immediately distinguishing it from the read-only chatgpt_ads_spend_limits sibling. An agent can tell what the tool mutates 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 Guidelines4/5

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

Gives rich invocation context: enumerated actions, when a window may not change (overlap, active start date, completed windows), the set_daily constraint that a new limit starts tomorrow, and confirm=false for a dry run. It does not explicitly route the agent to chatgpt_ads_spend_limits for reading existing limits, which is the only missing piece.

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.