Skip to main content
Glama

Creatives: approve variants

creative_approve
Destructive

Mark variant(s) of an order «Погоджено» (approved=false takes the mark off) — for «погоджую», «затверджую варіант 2», «approve». This is NOT a yes to a pending paid card: never confirm another proposal because the person approved a creative. Needs the cabinet's approve right. Free; asks for confirmation. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.

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": {
      "order_id": "<order_id>",
      "variants": "<variants>"
    },
    "name": "creative_approve"
  }
}

Input Schema

NameRequiredDescriptionDefault
approvedNoDefault true.
order_idYesorder_id from creative_order / creative_list.
variantsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses the cabinet permission requirement, that the call is free, that it is a two-phase proposal returning status='confirmation_required' with action_id and plan_token, and that no write occurs until confirm_action. The toggle semantics (approved=false un-marks) also clarify the mutation's reversibility, which the destructiveHint=true annotation alone does not explain.

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 action and its inverse, then the disambiguation, then the confirmation protocol — a sensible priority order with no filler. It is dense and mixes languages, but each clause (permission, cost, confirmation flow) carries information the agent needs.

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 mutating tool with no output schema, the description compensates by describing the exact return shape (confirmation_required plus action_id and plan_token) and the follow-up call. Permissions, cost, and the two-phase protocol are all covered, leaving nothing material an agent must guess.

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 67%, and the description adds real meaning to the `approved` flag by explaining it defaults to true and that false removes the mark, plus ties `order_id` to creative_order/creative_list context and `variants` to variant numbers. It does not add anything about the 1-8 range bound on variants, but the schema already documents that.

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 — marking variant(s) of an order as «Погоджено», with the inverse spelled out (approved=false removes the mark) — and supplies real user phrasings that map to it. It also disambiguates from a superficially similar action by stating it is NOT confirming a pending paid card proposal.

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 when-to-use triggers («погоджую», «затверджую варіант 2», «approve») and an explicit when-not: never confirm another proposal because a person approved a creative. It names the actual write path (confirm_action) that follows, so the agent knows both the entry condition and the alternative.

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.

Resources