Skip to main content
Glama

ASPERN: counterparty checks for agents

Check a tokenized stock before you buy

stock_buy_check
Read-onlyIdempotent

Check a tokenized stock BEFORE BUYING it, by its contract (or Solana mint) and network: can it be moved today (pause state, a permanent delegate), is a controlling address on the OFAC SDN list, does the pool price track the issuer’s reference, is there DEX liquidity to sell into, is it concentrated in one holder, and is it backed where the issuer reports reserves. Each question has a state (ok, caution, not_established) and the answer an overall status: caution, no_warning_found or not_established. Never "safe", never advice. 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": {
      "address": "<address>"
    },
    "name": "stock_buy_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoThe network, where one address is a token on several (ethereum, arbitrum, base, bnb, robinhood, solana, …).
addressYesThe token contract (0x…) or Solana mint.
sizeUsdNoThe position the sell question is asked for, in dollars; $10,000 where none is sent.

Output Schema

NameRequiredDescriptionDefault
metaNoHow current this answer is and what it was read from: `freshness` and the ages behind it. Present on every answer from this server, whatever the tool.
saysYesIn one sentence.
itemsYesquestion, state, says.
tokenYesWhich token.
statusYescaution, no_warning_found or not_established.
warningsNoAnything the server wants a caller to know about THIS answer before acting on it. Empty is the normal case and is not a guarantee.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / sizeUsd
      Added value: +{
      +  "description": "The position the sell question is asked for, in dollars; $10,000 where none is sent.",
      +  "type": "number"
      +}
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, open-world behavior, so the bar is lower. The description nonetheless adds substantive context: the status vocabulary (caution, no_warning_found, not_established), the explicit refusal to say "safe" or give advice, and that the call is free. That shapes how an agent should present results rather than just repeating annotation flags.

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 opening clause puts the verb, resource, and timing first, then the enumerated checks follow in a single readable sentence, closed by the status/limits sentence. It is dense but every clause carries distinct information; minor trimming of the check list would be possible but nothing is padding.

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?

With only three flat parameters and a full output schema, the description covers what an agent needs: input keys, the scope of the checks, and the meaning of the returned status. The main residual gap is what happens when chain is omitted and how ambiguous multi-chain addresses are resolved, which the schema leaves implicit.

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 coverage is 100%, so all three parameters (chain, address, sizeUsd) are already documented, including the $10,000 default. The description reinforces the contract-or-mint/network framing and hints that a sell-liquidity question is size-sensitive, but adds no syntax or format detail beyond the schema. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (check) and resource (tokenized stock) and enumerates exactly what is examined: pause state, permanent delegate, OFAC SDN exposure, reference-price tracking, DEX liquidity, holder concentration, reserve backing. An agent knows precisely what this tool returns. It does not, however, name or contrast itself against close siblings such as stock_check or stock_issuer_check, so the distinction is left implicit.

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?

"BEFORE BUYING it" gives a clear timing context that separates this from post-purchase or portfolio tools. It also fixes the lookup key (contract or Solana mint plus network). There are no explicit exclusions or named alternatives, which keeps it out of the top band.

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.