Skip to main content
Glama

gAIX shorts: the desk, quotes and a wallet's short

gaix_short_quote
Read-onlyIdempotent

Shorting Goldstein's gAIX (a tokenized index fund of AI and tech stock tokens) with USDG, and lending gAIX to the shorts: whether the desk is open or paused (every weekend), gAIX's price, the limit and the room left for new shorts (book ceiling, a tenth of supply, gAIX lent), the rates for shorts and lenders, the bounds on the pool hook's charge. With sell or buy: what selling or buying that much gAIX through Goldstein's pool brings or costs, and the hook's charge. With wallet: its short (gAIX owed, USDG held, limit used, the price at which it can be closed for it), its gAIX in bgAIX and its balances.

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": "gaix_short_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
buyNoOptional: gAIX to quote a purchase of (a close), like "5"
sellNoOptional: gAIX to quote a sale of (an open), like "5"
walletNoOptional: a wallet whose short and lending to read (0x...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already establish readOnly, idempotent, non-destructive, so safety disclosure is not needed. The description adds genuine domain behaviour: the desk pauses every weekend, the book ceiling is a tenth of supply, hook charges are bounded, and wallet reads include bgAIX holdings. However, it never states that nothing mutates or what the response shape looks like, which for a no-output-schema tool is a remaining gap.

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 content is dense and largely justified, but it is delivered as one sprawling comma-and-parenthetical sentence that is hard to parse and buries the three distinct modes inside clause chains. Restructuring into per-mode lines would cost nothing and gain readability.

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 no output schema, the description carries the return-value burden and does it well for each mode: owed/holdings/limit/close price for wallets, cost/proceeds/charge for quotes, and desk gating plus rate and ceiling context otherwise. Some terms (the pool hook's charge, 'gAIX in bgAIX') stay unexplained, which keeps it short of full completeness.

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% and the schema already labels 'sell' as an open and 'buy' as a close, so the description largely restates that. It adds only that a quote yields what the trade 'brings or costs' plus the hook charge, which is minimal value over the schema baseline.

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 states a specific resource (Goldstein's gAIX short desk) and the read-only operations over it: desk status, price, limits, rates, hook charge, plus per-wallet short detail and buy/sell quotes. It is distinguishable from the action siblings (gaix_short_open, gaix_short_close, gaix_lend) by being a preview/read, though it never names those siblings explicitly, leaving the quote-vs-execute split to inference.

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 clearly partitions behaviour by parameter: no params gives desk/price/limit/rate state, 'sell or buy' gives a trade quote, 'wallet' gives that wallet's position. What is missing is explicit routing — nothing says 'call this before gaix_short_open' or 'do not use this to execute' — so the agent must infer the alternative from sibling names.

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