Skip to main content
Glama

Make a page for an ad

soclo_ad_pages_create
DestructiveIdempotent

Spends the quoted credits once to write a page that matches the ad and save it on the owner’s website, out of the menu and not linked from any ad. Only after the owner approved the quote. One page per ad version: repeating returns the same page or operation and never charges twice. Follow the returned opId until it settles, then preview.

Input Schema

NameRequiredDescriptionDefault
adNoThe ad words. Required for a draft ad; for a live ad they only fill gaps.
adIdNoA live ad id. Soclo reads the ad itself; the page matches its headline, offer and button.
creditsYesThe credits from soclo_ad_pages_quote, exactly as shown to the owner.
draftIdNoAn id for an ad still being written, so the same draft maps to the same page.
platformYesThe ad platform, as soclo_ads_* tools name it (for example facebook, google, tiktok). For a draft ad, the platform it will run on.
accountIdNoConnected ads account id (from soclo_ads_* tools). Required with adId.
adAccountIdNoAdvertiser / ad account id, when the platform has one.
libraryAssetIdNoOptional: a picture already in the owner’s Library to show on the page. A new picture is never made here.
pricingVersionYesThe pricingVersion from soclo_ad_pages_quote.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

The description goes well beyond the annotations by explaining that credits are spent once, never charged twice, and that one page exists per ad version. It also discloses the asynchronous operation pattern: follow the returned opId until it settles, then preview.

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?

The description is four tight sentences with no filler. It front-loads the action and cost, then states the approval prerequisite, idempotency guarantee, and follow-up step in a logical order.

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 9-parameter, nested-object, asynchronous mutation tool with no output schema, the description covers the critical missing context: cost, approval gate, idempotency, opId follow-up, and next preview step. An agent can call this correctly without opening additional documentation.

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

Parameters4/5

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

Schema coverage is already 100%, so the schema carries most parameter meaning. The description still adds useful semantics around the identity parameters by tying repetition and charging to the ad version, and it reinforces that credits and pricingVersion come from an approved quote.

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: it writes a page matching the ad, saves it on the owner's website, and keeps it out of the menu and unlinked. That level of scope detail distinguishes it from siblings such as quote, preview, attach, and publish.

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 clearly gates invocation on owner approval of a quote and tells the caller to repeat safely because the operation is idempotent. It also points to the next step, following the returned opId and then previewing, though it does not explicitly name sibling tools or state when not to use this tool.

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