Skip to main content
Glama
nubiia-dev
by nubiia-dev

list_treasuries

List treasury accounts with pagination and field filtering to reduce response size. Balance reflects opening figure, not live balance.

Instructions

List all treasury accounts with pagination support. Supports field filtering to reduce response size. WARNING: the balance field is a STATIC opening figure, not a live balance derived from transactions — do NOT rely on it for reconciliation or to compute the current cash position.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (starting from 1, default: 1)
fieldsNoSelect specific fields to return (e.g., ["id", "name", "balance"]). Reduces response size by 70-90%. If not provided, returns default fields: id, name, balance
summaryNoReturn only total count and page count without items (default: false)
pageSizeNoNumber of items per page (default: 50, max: 500)
Behavior4/5

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

With no annotations, the description carries full burden. It discloses the static nature of the balance field, warning against misuse for reconciliation. This is critical behavioral context. However, it omits details like default sorting, potential data freshness, or permissions required.

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 description is two sentences plus a warning, front-loaded with main purpose. It is efficient but the warning could be integrated. No wasted language, but the parameter descriptions in the schema are more detailed, making the description supplementary.

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?

With no output schema, the description should explain response structure (e.g., pagination metadata) beyond the balance warning. It covers basic pagination and field filtering but does not clarify the summary parameter or what 'default fields' are returned.

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 parameters are already documented. The description adds 'field filtering reduces response size by 70-90%' but that is an elaboration rather than new semantics. The warning about balance refers to the response field, not input parameters.

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?

The description clearly states 'List all treasury accounts with pagination support', identifying the specific verb (list) and resource (treasury accounts). It distinguishes itself from sibling tools like 'get_treasury' implicitly and mentions field filtering, which is a unique feature.

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

Usage Guidelines3/5

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

The description implies usage for listing treasuries but does not explicitly state when to use this tool over alternatives (e.g., get_treasury for a single account). It provides guidance on using field filtering to reduce response size but lacks exclusions or contextual triggers.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nubiia-dev/mcp-holded'

If you have feedback or need assistance with the MCP directory API, please join our Discord server