Skip to main content
Glama

audit.domains - Domain Valuation

Buy appraisals for a portfolio: prepaid balance ($0.03/name)

purchase_portfolio_appraisals
DestructiveIdempotent

RAIL: PREPAID BALANCE. Buy the existing current_appraisal service for up to 10 domains in ONE call, using a prepaid agent account and an operator's existing spending grant: $0.03 per name drawn from the prepaid balance, so one call charges at most $0.30. This is purchase_appraisal fanned out, not a new ledger: name i is an ordinary purchase-1 purchase under the derived operationId :, enforced by the original route (authentication, expiry, domain/product permissions, balance, grant limits, shared engine budget), and a name the engine cannot deliver is refunded to the account exactly as a single purchase is. Connect with Authorization: Bearer ad_agent_; never put credentials in arguments. Supply an explicit operationId (at most 126 characters), grantId, domains (1 to 10 distinct names) and maxSpendUsd, the TOTAL ceiling for the call, which must cover $0.03 per name. Names run sequentially; a per-name refusal is recorded and the rest still run, while an uncertain outcome stops the call with the remaining names not_attempted. Retrying with the SAME operationId and the original arguments returns the stored per-name receipts and never charges a name twice; read them any time with portfolio_purchase_status. One purchase invocation per MCP request, and this tool counts as that invocation. This tool cannot fund the account, create grants or raise a limit. Not this rail when a person will pay at a checkout page, or when the operator enrolled a card instead of funding a balance: those rails stay single-name (buy_appraisal, buy_appraisal_agent_card). Configuration does not guarantee live readiness; the route's response is authoritative.

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": {
      "operationId": "<operationId>",
      "grantId": "<grantId>",
      "domains": "<domains>",
      "maxSpendUsd": "<maxSpendUsd>"
    },
    "name": "purchase_portfolio_appraisals"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainsYesThe domains to appraise, 1 to 10 distinct names. Order matters: keep it identical on any retry, because per-name operationIds are positional.
grantIdYesAn existing operator-issued grant identifier.
maxSpendUsdYesExplicit maximum TOTAL USD-equivalent service-credit spend for this whole call; must cover $0.03 per name ($0.30 for 10 names). No inferred or automatically increased ceiling.
operationIdYesCaller-chosen identifier for the whole portfolio purchase. Persist it before calling and reuse it with the original arguments after a lost reply; per-name purchases are derived from it, so never generate a new identifier for a retry.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes far beyond the annotations: discloses per-name pricing and the $0.30 call ceiling, the Bearer auth requirement with the warning not to put credentials in arguments, refund behavior for undeliverable names, sequential execution with per-name refusal vs. uncertain-outcome stop semantics, and idempotent replay under the same operationId. It also states explicit non-capabilities (cannot fund the account, create grants, or raise a limit) and that the route response is authoritative over configuration.

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 critical rail identity and price are front-loaded in the first sentence, and nearly every sentence carries operational weight for a high-stakes spend tool. It is a single dense block, though, and the pricing, retry, and exclusion rules would scan faster as separated clauses; a small amount of re-statement of the ceiling survives.

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 money-spending, multi-item, idempotency-sensitive tool this covers everything an agent needs: auth, cost model, failure partitions, retry protocol, and the status tool for reading results. An output schema exists, so not describing the return shape is acceptable, and it still points to portfolio_purchase_status for receipt retrieval.

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 baseline is 3; the description still adds meaning by framing maxSpendUsd as the TOTAL ceiling that must cover $0.03 per name and by explaining that per-name purchases derive from operationId as <operationId>:<i>, which is why domain order must be preserved on retry. The 126-character limit and 1-10 distinct-name constraint restate the schema rather than extend it, so it sits just above baseline.

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?

States a precise verb and resource ('Buy the existing current_appraisal service for up to 10 domains in ONE call') and immediately distinguishes the mechanism from siblings by calling itself 'purchase_appraisal fanned out, not a new ledger.' An agent can tell this apart from buy_appraisal, buy_appraisal_agent_card, and purchase_appraisal 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 Guidelines5/5

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

Explicitly names when NOT to use it ('when a person will pay at a checkout page, or when the operator enrolled a card instead of funding a balance') and routes to the correct single-name alternatives (buy_appraisal, buy_appraisal_agent_card). It also names portfolio_purchase_status as the read path for stored receipts, leaving nothing to inference.

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