Skip to main content
Glama

Hide Ads From Scans

sonar_ad_spy_hide_ads
Idempotent

WRITE tool — remove irrelevant ads from this account's scans ("Remove from scan"), or put them back with hidden: false. Per account only; other accounts still see them. Requires an Indie or Agency plan (a trial counts) and an authorized Sonar account or an API key with the write scope.

Input Schema

NameRequiredDescriptionDefault
hiddenNotrue (default) removes them from this account's scans; false puts them back.
creative_idsYesAds to hide or restore (Sonar ad ids).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, and the description adds genuinely new behavior: the effect is account-scoped only ('other accounts still see them'), the change is reversible via hidden:false, and there are plan and auth-scope gates. It does not describe the response payload, but that is minor given the safety profile is well covered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences, front-loaded with the write/mutation marker and the primary action, followed by the scoping and prerequisite details. No filler or repetition.

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 two-parameter mutation with full schema coverage and annotations, the description covers scope, reversibility, and access requirements. The only gap is the absence of any statement about the return value, which matters slightly since no output schema exists.

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 description coverage is 100%, so both parameters are already documented, including the hidden default and the warning to use Sonar ids rather than Meta ad_id. The description only restates the restore semantics with 'hidden: false' and adds nothing about batch limits or id sourcing beyond the schema.

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?

Opens with an explicit 'WRITE tool' marker, then states the specific verb+resource: remove ads from this account's scans, with the inverse operation (hidden: false) named in the same sentence. An agent can distinguish this from read-oriented siblings like sonar_ad_spy_ads without opening the 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?

Gives real operational preconditions — per-account scope, Indie/Agency plan (trial counts), authorized account or write-scoped API key. It does not name an alternative tool or state when-not to use it, so it stops short of full routing guidance.

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.