Skip to main content
Glama

Check a listing before paying

check_before_paying
Read-only

Check a marketplace listing before paying to get go, caution, or avoid with dated reasons from stored checks, including price, health, delivery, and terms.

Instructions

Before paying a marketplace listing, get go / caution / avoid with every reason, dated where it was measured, from AIPayGen's stored checks: concentrated paid use, down at its last health checks, its 402 price above your max or different from the directory's, poor delivery in our paid test purchases, flagged listing text, recent payment-terms changes, or no paid evidence yet. Facts, not a guarantee. Free.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "listing": "<listing>"
    },
    "name": "check_before_paying"
  }
}

Input Schema

NameRequiredDescriptionDefault
listingYesListing id as kind:id (from search_marketplace or find_tool)
max_price_usdNoThe most you'd pay per call, in USD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses the verdict categories, the reasons returned, that reasons are dated, the specific stored checks performed, and the caveat that results are facts rather than guarantees. It also states the tool is free.

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 description is front-loaded with the pre-payment purpose and verdict output, followed by a dense but relevant list of checks and a short caveat. The long semicolon list is justified by the need to enumerate the checks, though it could be tighter.

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 read-only tool with no output schema, the description explains the verdict shape, reason content, dating, data source, and caveats well enough for an agent to invoke it correctly. It leaves some detail about exact response structure unstated, but the core output semantics are covered.

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 the input schema already explains both parameters. The description reinforces that max_price_usd affects the 402 price check, but it does not add syntax or format detail 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?

The description states a specific action and resource: check a marketplace listing before paying and return a go/caution/avoid verdict with reasons. It clearly distinguishes this as a pre-payment stored-checks assessment rather than a generic listing lookup.

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 explicit timing guidance: use this before paying a marketplace listing. It does not name when-not to use it or a specific sibling alternative, but the pre-payment context is clear and actionable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.