Skip to main content
Glama

Prepare a FirmLedger advertising checkout link

prepare_advertising
Read-onlyIdempotent

Does NOT charge anything. Checks that the listing belongs to this account and is approved, then returns a personal link to FirmLedger's own checkout for the chosen Sponsored-placement package. The user reviews and pays there themselves; you can never complete or confirm a payment. If the user says "yes, do it", give them the link again.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
listingYesOne of the user's own approved listings (see get_my_listings or list_ad_packages).
packageYesThe package id from list_ad_packages (or its exact name).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/idempotent/non-destructive, but the description adds genuinely new behavior context: no charge occurs, the user pays on FirmLedger's own checkout, and the agent can never complete or confirm a payment. This resolves the misleading "checkout" wording that annotations alone would not.

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?

Three sentences, front-loaded with the critical "Does NOT charge anything" disclaimer, and each sentence carries distinct information (validation, payment boundary, re-issue instruction). No waste.

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?

With no output schema, the description still tells the agent what is returned (a personal checkout link) and where payment happens. For a 2-param, fully-documented read-only tool, nothing needed to invoke 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 100%, so both parameters are already documented in the schema. The description only restates context (user's own approved listing, chosen package) without adding syntax or format detail beyond it, so the 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 action: validating a listing and returning a personal FirmLedger checkout link for a Sponsored-placement package. It is clearly distinguishable from siblings like prepare_listing_claim or prepare_upgrade because it names the checkout/payment context explicitly.

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 gives the precondition (listing must belong to this account and be approved), names the source tools for both parameters (get_my_listings, list_ad_packages), and handles the follow-up case: if the user says "yes, do it", return the link again rather than attempting payment.

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