Skip to main content
Glama

Ad answer

ad_answer

The owner said no to running a picture as an ad (no), or asked you to stop offering ads (stop). It is never offered for that picture again; after two noes in a row, or a stop, ads are offered only when the owner asks. Free. It needs an act key.

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": {
      "answer": "<answer>"
    },
    "name": "ad_answer"
  }
}

Input Schema

NameRequiredDescriptionDefault
answerYesno: not for this picture; stop: the owner asked Marsell to stop offering ads
set_idNothe picture's set; left out, the picture this chat last offered as an ad
item_idNothe picture in the set; omitted, its first made picture
projectNoThe project's id or exact name. Optional when the account has one project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false and openWorldHint=false; the description goes well beyond them by disclosing the durable state change (the picture is never offered again), the escalation rule (two noes in a row or a stop suppresses offers until the owner asks), and cost ('Free'). It also flags an auth prerequisite ('It needs an act key'), though 'act key' is undefined and does not correspond to any parameter in the schema, which leaves a small ambiguity.

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?

Three short sentences, front-loaded with the trigger and the consequence, with no filler. The style is telegraphic ('Free.', 'It needs an act key.') and the passive 'It is never offered for that picture again' has an unclear subject, which costs a little clarity.

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 small four-parameter mutation tool with a fully documented schema and no output schema, the description covers the important things an agent needs: what the answer values mean in effect, that a stop suppresses future offers, and that it is free. The only real gap is the unexplained 'act key' prerequisite, which an agent cannot act on from this text.

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 coverage is 100%, with the enum and the set_id/item_id fallbacks already documented in the schema, so the schema does the heavy lifting. The description restates the meaning of 'no' and 'stop' but adds no format or defaulting detail beyond what the schema already provides, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description conveys the resource (an owner's answer about running a picture as an ad) and the two values ('no' for this picture, 'stop' for all ads), and the effect ('It is never offered for that picture again'), which distinguishes it from the ad_offer sibling that makes offers. It never states the verb explicitly ('record/answer the offer'), so the agent has to infer the write action from the consequences rather than reading it directly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The trigger is implied by 'The owner said no ... or asked you to stop', which tells the agent this is called after an owner declines an offer. However, there is no explicit 'use this when' framing, no when-not guidance, and no sibling (ad_offer, offering_remove, set_offer) is named as the alternative for a different situation.

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.