Skip to main content
Glama

near_portfolio

Read-onlyIdempotent

What a NEAR account holds, and what it is worth — Net worth of a NEAR account: its NEAR (liquid and staked) plus balances in every NEP-141 token NEAR Intents routes with a live price — USDC, USDT, wNEAR, bridged BTC and ETH and more — each valued in USD and sorted by value, with the total. Says how many tokens were scanned; tokens outside that list are not included. Live from the NEAR RPC, priced by NEAR Intents. Required input: account. Priced $0.02 per call over x402 on Base; send a prepaid x-credit-token header for unlimited calls, or get 1 free call/day per tool. No API key required.

Input Schema

NameRequiredDescriptionDefault
accountYesNEAR account

Output Schema

NameRequiredDescriptionDefault
dataNoThe result payload. Shape is service-specific; every field is documented in the tool description.
serviceNoThe service id that answered.
checkedAtNoISO-8601 timestamp of when the underlying reads were taken.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/openWorld, but the description adds genuinely useful behavior: the data is live from the NEAR RPC and priced by NEAR Intents, coverage is bounded ('tokens outside that list are not included'), and it reports how many tokens were scanned. It also discloses the payment/auth model ($0.02 per call over x402, x-credit-token header, 1 free call/day, no API key), which is material to invocation.

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?

It is front-loaded with the core meaning (holdings + value) and the coverage caveat, then pricing last. The em-dash-heavy enumeration of tokens and the extended payment sentence are somewhat long but each clause carries real information, so waste is limited.

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?

An output schema exists, so return structure needn't be explained, and the description supplies the coverage limits, data sources, and input requirement an agent needs. It stops short of describing error/pagination behavior, but for a single-param, output-schema-backed tool it is essentially complete.

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?

There is a single parameter with 100% schema coverage, so the schema already documents 'account'. The description only restates that account is required and adds no format, syntax, or resolution semantics beyond the schema, making the baseline 3 appropriate.

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 specific resource and scope: 'What a NEAR account holds, and what it is worth', enumerating NEAR (liquid and staked) plus NEP-141 token balances. An agent can tell this is a net-worth/portfolio tool for NEAR rather than a generic account lookup, but it never explicitly contrasts itself with close siblings like near_account, wallet_networth, or b20_portfolio.

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?

It states the required input ('Required input: account') and implies the use case (valuing a NEAR account's holdings), which is enough to know when to call it. However, it offers no explicit when-not guidance or alternatives, so routing against similar portfolio/wallet tools is left to inference.

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