Skip to main content
Glama

audit.domains - Domain Valuation

Status of a prepaid portfolio appraisal purchase

portfolio_purchase_status
Read-onlyIdempotent

RAIL: PREPAID BALANCE. Receipt reader for purchase_portfolio_appraisals only, keyed by the portfolio operationId plus the original domains list on the same authenticated agent connection: per-name operationIds are derived positionally (:), so the same domains in the same order are required to read the same receipts. Reads the original purchase-1 receipts; it does not start or resume delivery and cannot create a purchase. A pending name gives retryAfterSeconds in its receipt; after that delay, recover with purchase_portfolio_appraisals using the SAME operationId and original arguments. A refunded name means service credits returned to the account for that name. Not for the other rails or for a single purchase_appraisal, which is read with appraisal_purchase_status (operationId alone).

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>",
      "domains": "<domains>"
    },
    "name": "portfolio_purchase_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainsYesThe original domains list from purchase_portfolio_appraisals, in the original order.
operationIdYesCaller-chosen purchase identifier. Persist it before calling and reuse it with the original arguments after a lost reply; 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.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered; the description nonetheless adds non-obvious behavior: per-name operationIds are derived positionally as <operationId>:<i>, so domains must be replayed in original order, and pending names return retryAfterSeconds while refunded names mean service credits were returned. The only shortfall is that it doesn't discuss error behavior for a mismatched domain list beyond implying receipts won't match.

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?

Front-loaded with a rail marker and the core identity, and every sentence carries operational information (keying rule, non-capabilities, recovery, refund meaning, exclusions). It is dense to the point of being a single packed paragraph, with heavy clause chaining that slightly hurts scannability, but nothing is filler.

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?

An output schema exists, so return values needn't be enumerated, yet the description still explains the two outcome states an agent must act on (pending with retryAfterSeconds, refunded). Combined with the read-only/idempotent annotations and the fully documented two-parameter schema, an agent has everything needed to invoke and interpret this correctly.

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 100%, so the baseline is 3; the description earns above that by explaining WHY both parameters matter — the positional derivation <operationId>:<i> makes the domains list and its ordering semantically load-bearing rather than merely a filter. It stops short of adding format or validation detail beyond what the schema already specifies.

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 specific verb and resource: 'Receipt reader for purchase_portfolio_appraisals only', keyed by operationId plus the original domains list. It explicitly separates itself from the single-purchase sibling ('appraisal_purchase_status (operationId alone)') and from other rails, so an agent can pick the right tool without opening a 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?

Gives explicit when-to-use (read receipts of an existing portfolio purchase), when-not ('does not start or resume delivery and cannot create a purchase', 'Not for the other rails or for a single purchase_appraisal'), and a named alternative with its distinguishing argument shape. It also prescribes the recovery path after a pending result: retry purchase_portfolio_appraisals with the SAME operationId and original arguments.

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