Skip to main content
Glama

ASPERN: counterparty checks for agents

Capital quality: who sits next to you

vault_capital_quality
Read-onlyIdempotent

Who sits next to you in a vault? For one vault of $1M or more: cohort retention (of the capital that arrived in a month, the share whose address was still in after 30, 90 and 180 days), the mercenary share (capital that came on an advertised-APY spike and left within 30 days), concentration (the largest address, the ten largest, the Herfindahl index), the dollar-weighted median holding period, the share held by addresses that left other vaults 2 to 30 days before a loss or a one-day fall of half there, and churn (30-day gross in and out against capital). Each figure has its time, window and source, and is null with a reason where not read, never zero; quote the coverage beside the number. An address is not an owner. Without slug: one row per vault, sortable. Summary FREE; cohorts by month with flows.read.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "vault_capital_quality"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNoA vault slug (from list_vaults) or its address. Omit for the list.
sortNoWithout slug: the order (default tvl; retention lowest first).
limitNoWithout slug: how many vaults (default 20, at most 200).

Output Schema

NameRequiredDescriptionDefault
atYesWhen the daily reading was taken.
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.
meansYesHow to read the figures.
vaultYesWith slug: retention, retentionHistory, mercenary, concentration, holding, earlyLeavers, churn (each with asOf, window, coverage, notRead), sources, says. Null in the list.
vaultsYesWithout slug: one row per vault (retention30, mercenaryShare, top1, top10, hhi, holdingMedianDays, earlyLeaverShare, churnGross30). Empty with slug.
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.
withheldYesDetail left out of a free answer; empty when paid or in the list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive behavior, yet the description adds real semantics beyond them: values are 'null with a reason where not read, never zero', coverage must be quoted beside each figure, and 'An address is not an owner' warns against a common misreading. It also discloses the free-vs-paid split (flows.read for monthly cohorts), which is a genuine behavioral constraint an agent needs before invoking.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening question is well front-loaded, but the body is one sprawling sentence enumerating seven metric families — much of which restates return values that the output schema already defines. The data-quality and pricing notes earn their place; the exhaustive metric catalogue is padding given an output schema exists.

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 annotations, a full output schema, and 100% parameter coverage, the definition supplies the remaining pieces an agent needs: null-handling semantics, coverage reporting, the single-vault vs list modes, and the flows.read gate. It could still say when to prefer this over a related migration or drift tool, which keeps it just below the top.

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 baseline is 3. The description reinforces the slug mode switch ('Without slug: one row per vault') and mentions sorting, but the schema already states 'Omit for the list' and documents the sort enum and limit bounds. It adds framing rather than meaning the schema lacks.

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?

The description names a concrete resource and enumerates exactly what is computed: cohort retention at 30/90/180 days, mercenary share, top-address/top-10/Herfindahl concentration, dollar-weighted median holding period, loss-anticipating exits from other vaults, and churn. The opening metaphor ('who sits next to you') is loose, but the metric list removes ambiguity. It never names a sibling such as vault_capital_migration to draw the boundary, so it stops short of a 5.

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?

Usage context is clear: 'For one vault of $1M or more' sets the scope and threshold, and 'Without slug: one row per vault, sortable' explains the two operating modes. The access note ('Summary FREE; cohorts by month with flows.read') tells the agent about a cost/permission boundary before calling. There are no explicit exclusions or named alternatives, which keeps it at 4 rather than 5.

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.