Skip to main content
Glama

set_ad_manual_mode

Idempotent

Switch an ad to MANUAL product mode: nothing is published automatically; items reach the channel only through submit_ad_items / submit_all_ad_items. Use this to test before activating or to stop automatic publishing. Sends nothing to the channel; to stop all syncing use pause_ad. Returns {integrationId, action:'set_product_mode', status, kind:'ads', editUrl, message}. ad_id is from list_ads. project_id is OPTIONAL (inferred for a single-project customer; project_id_required otherwise — then call list_projects).

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": {
      "ad_id": "<ad_id>"
    },
    "name": "set_ad_manual_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
ad_idYesintegrationId of the ad (from list_ads).
project_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true, destructiveHint=false and readOnlyHint=false, so the safety profile is covered. The description still adds real value on behavior: no automatic publishing results from the call, and it names the manual submission path that must follow. It does not discuss permissions or what existing published items do after the switch, so it sits at solid-but-not-complete.

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-loads the mode change and its consequence, then the usage, then the alternative, then the return shape and parameter sourcing. Dense and information-rich, though the inline return-shape and the parenthetical error path make the final sentences harder to scan than necessary.

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 two-parameter mutation with no output schema, the description covers what is returned ({integrationId, action, status, kind, editUrl, message}), the error path for project_id, and the follow-up submission tools. Nothing an agent needs to invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50% (project_id has no description), and the description compensates fully: ad_id comes from list_ads, project_id is OPTIONAL, inferred for single-project customers, otherwise project_id_required is returned and list_projects should be called. That is exactly the error-path detail the schema omits.

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 ('Switch an ad to MANUAL product mode') and immediately defines the operational meaning: nothing is published automatically, items reach the channel only via submit_ad_items / submit_all_ad_items. That distinguishes it cleanly from set_ad_auto_mode and from the submit siblings 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 Guidelines5/5

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

Gives two concrete use cases ('test before activating', 'stop automatic publishing'), states what the tool does NOT do ('sends nothing to the channel'), and names the alternative for a related goal ('to stop all syncing use pause_ad'). This is explicit when-to-use plus routing to a sibling.

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