Skip to main content
Glama

pusaka

pusaka_market_book

Read-only

The market contract's book: standing bids priced per verified sat (best first, with what each would pay for a given Pusaka), loan offers with no due date, and open perpetual loans with their live debt and refinancing-auction rate.

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

Input Schema

NameRequiredDescriptionDefault
token_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

The annotations already establish read-only, non-destructive behavior, and the description adds meaningful domain behavior: bids are ordered best first, priced per verified sat, loan offers have no due date, and outstanding loans show live debt plus a refinancing-auction rate. It does not cover pagination or access constraints, but it substantially enriches understanding of the returned data.

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 definition is a single front-loaded sentence with no redundant restatement of annotations. Its dense list format is efficient, though the parenthetical pricing detail makes it slightly harder to parse than a cleaner breakdown would be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers the main categories of the market book, which is useful given there is no output schema. However, it leaves token_id behavior and the full shape of returned entries unspecified, so an agent still has gaps before invoking it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single token_id parameter has 0% schema description coverage, and the description only alludes to 'a given Pusaka' without clarifying whether token_id filters, is optional, or what format it accepts. With one undocumented parameter, the description fails to compensate for the schema gap.

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 identifies the specific resource as the market contract's book and enumerates its three sections: standing bids, loan offers, and open perpetual loans. It is clear what data domain this covers, though it does not explicitly contrast itself with siblings such as pusaka_loan_offers.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

It gives no explicit when-to-use guidance, prerequisites, or alternatives. The phrase 'for a given Pusaka' hints at a token-scoped lookup but does not explain when an agent should call this tool instead of related loan or deal tools.

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