Skip to main content
Glama

Opus Growth, Ad Platforms MCP Connector

Adjust Conversions (refund/restate)

upload_conversion_adjustments
Destructive

ADJUSTS conversions you already reported — the refund/cancellation half of the closed loop. RETRACT cancels a conversion that fell through (refund, cancelled order, unqualified lead); RESTATE corrects its value (partial refund, upsell). Without this, Smart Bidding keeps optimizing toward revenue that never actually landed.

conversion_action = name or ID. adjustments accepts a JSON array OR one row per line as 'key=value;key=value': • type=RETRACT;order_id=A-991;datetime=2026-08-05 09:00:00+03:00 • type=RESTATE;order_id=A-991;datetime=2026-08-05 09:00:00+03:00;value=1200 Identify the original conversion by order_id (recommended) OR by gclid + conversion_datetime. Fields: type (RETRACT|RESTATE), datetime (REQUIRED = when the adjustment happened), order_id, gclid, conversion_datetime (original conversion time, needed with gclid), value (RESTATE only). confirm=false → preview; confirm=true → applies.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNo
adjustmentsYes
customer_idYes
currency_codeNo
conversion_actionYes

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

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description adds real behavioral value by disclosing the confirm=false preview / confirm=true apply mechanism — critical for a destructive write. It also explains the downstream effect on Smart Bidding. It stops short of documenting permissions/auth requirements or repeat-adjustment behavior.

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 purpose in the first clause, then organized into bullets and a field list that are easy to scan. It is longer than average but each block earns its place (mode semantics, input format, field semantics, preview flag); the value=1200 vs value in example formatting is slightly redundant but minor.

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?

An output schema exists so return values need no explanation, and the description covers the hard parts of a complex write tool: operation modes, free-text encoding format, required versus conditional fields, and the dry-run gate. Only the customer_id and currency_code parameters are left entirely to an undocumented schema.

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, the description carries the load and largely does so: it defines conversion_action (name or ID), the two accepted formats for the opaque 'adjustments' string, the full field list with which are required (datetime, conversion_datetime needed with gclid), identification strategy (order_id recommended) and worked examples. customer_id and currency_code remain undocumented, so it is not fully compensating for the coverage 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 ('ADJUSTS conversions you already reported — the refund/cancellation half of the closed loop') and immediately disambiguates the two operations RETRACT vs RESTATE. This distinguishes it from the sibling upload tools (upload_offline_conversions, upload_microsoft_offline_conversions) that report new conversions rather than correcting existing ones.

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?

Clearly scopes usage to conversions already reported and gives concrete when-to-use for each mode (RETRACT for refund/cancelled order/unqualified lead, RESTATE for partial refund/upsell), plus the business reason ('otherwise Smart Bidding keeps optimizing toward revenue that never landed'). It does not explicitly name the sibling alternative for net-new uploads, so the exclusion is inferable rather than stated.

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.