Skip to main content
Glama

Save Ads to Vault

sonar_ad_spy_vault_save

WRITE tool — save Meta ads to the account's private vault: details are frozen and the media downloaded into Sonar's storage, so the ad survives being stopped or its links expiring. Saves what fits the plan's vault limit and reports the rest as over_limit; poll sonar_ad_spy_vault for status. An ad whose media links already expired is refetched once, which spends one Ad Spy lookup. 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
creative_idsYesMeta ads to save.
competitor_idNoThe competitor these ads belong to (its Sonar app id).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

The description goes far beyond the provided annotations by detailing internal operational behaviors. It explains that media is downloaded and details specific logic regarding expired links—they are refetched once, which incurs a specific cost ('one Ad Spy lookup').

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?

The definition is highly dense but maximizes information density; every sentence conveys critical operational detail. It avoids unnecessary jargon while clearly laying out constraints and consequences.

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?

Given the complexity of a vault-saving mechanism, this is extremely complete. It covers authentication needs, storage limits, state management (polling), and resource costs, leaving no ambiguity for the agent.

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?

Since the schema description coverage is 100%, the baseline score is 3. However, the description adds useful semantic context by clarifying that 'creative_ids' refers to the internal Sonar ID, not the external Meta Ad ID, which is a vital distinction.

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 uses the specific term 'save Meta ads to the account's private vault,' clearly identifying the action and the resource. It distinguishes this function from other related functions by focusing on the persistence and freezing of the ad details and media within Sonar's storage.

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?

It provides comprehensive usage guidelines, including plan requirements (Indie or Agency), necessary permissions (authorized account/API key), and operational flow. Crucially, it outlines the limitation behavior, reporting 'over_limit,' and instructs the user to poll 'sonar_ad_spy_vault' for status.

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.