Skip to main content
Glama

ads_integrate

Fetch the exact embed snippet for an x402ads slot_id (from ads_register_slot) as structured data — no webpage reading required. Paste or inject the returned snippet into your page; it polls every 15s and renders whatever is currently paid for that slot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slot_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

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?

With no annotations, the description carries the full burden, and it does disclose meaningful behavior: the return is structured data with no webpage reading required, and the embedded snippet polls every 15s and renders whatever is currently paid for the slot. It omits auth/permission requirements and whether slot_id must already exist, keeping it from a 5.

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 core purpose, with zero filler. The second sentence's behavioral detail about polling and rendering is worth its space.

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?

An output schema exists, so return values needn't be explained, and the description still usefully characterizes the snippet's runtime behavior and how to use it. Minor gaps remain around authentication and slot_id prerequisites, but nothing critical to calling it correctly is missing.

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 0% for the single slot_id parameter, so the description must compensate. It does add value by telling the agent that slot_id comes from ads_register_slot, but it gives no format, type, or validity details beyond that, leaving the parameter only partially documented.

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 — fetching the exact embed snippet for an x402ads slot_id — and explicitly distinguishes itself from sibling ads_register_slot by naming where the slot_id originates. An agent can tell this apart from ads_browse or ads_register_slot 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 Guidelines4/5

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

It gives clear usage context: obtain the slot_id from ads_register_slot, then paste/inject the returned snippet into your page. It doesn't state exclusions or conditions under which this tool should not be used, so it stops short of the explicit when/when-not guidance a 5 requires.

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