Skip to main content
Glama

unlock_ad_items

Destructive

AD items: release lock — clear the lock set by lock_ad_items so automatic sync updates the items again. Use this when frozen listings should sync again. Needs confirm:true after the user agrees. Target item_ids or all_items:true.

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": "unlock_ad_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
ad_idYesintegrationId of the ad (from list_ads).
confirmNotrue only after the user approved; without it the call returns confirm_required and nothing runs.
item_idsNoitemId values (from list_ad_items) to act on. Use this OR all_items.
all_itemsNoApply to every item of the ad. Use this OR item_ids.
project_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, and the description adds genuinely useful context beyond that: the confirm gate and its 'nothing runs' behavior, plus the downstream consequence that automatic sync will overwrite the items again. That consequence is exactly the kind of risk context annotations alone don't convey.

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 that front-load the action and its effect, followed by the precondition and the targeting options. No filler, though the 'AD items:' label prefix is slightly wasteful.

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 5-parameter mutation with no output schema, the description covers what the tool does, when to run it, the confirmation requirement, and the targeting modes. Only minor gaps remain, such as what happens to items not matching the given item_ids.

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 80%, so the schema already documents ad_id, confirm, item_ids, and all_items with the same OR-relationship wording. The description restates the confirm gate and the item_ids/all_items choice rather than adding format, ordering, or precedence details beyond the schema, so baseline 3 applies.

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?

The description states a specific verb and resource ('release lock' on AD items) and explicitly ties it to the sibling that created the lock ('clear the lock set by lock_ad_items'), so an agent can distinguish it from lock_ad_items and from unlock_marketplace_items without opening a 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?

It gives a clear triggering condition ('Use this when frozen listings should sync again') and a hard precondition ('Needs confirm:true after the user agrees'). There is no explicit when-not guidance or named alternative, but the effect-based framing makes the selection obvious.

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