Skip to main content
Glama

Get Portfolio Analytics

get_analytics

Cost basis, average cost per oz, break-even price, unrealized P/L per metal

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyYesTroyStack API key (required)

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It names output fields but does not state whether the operation is read-only, what authentication is needed beyond the api_key parameter, or any other behavioral traits. This is a significant transparency 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 description is a short noun phrase, not a complete sentence, which is concise and without fluff. However, it is under-specified, lacking a verb and any structural framing that would make it a proper tool description.

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?

For a simple tool with one parameter and no output schema, the description does list the expected return metrics (cost basis, average cost per oz, break-even price, unrealized P/L per metal) and notes 'per metal' grouping. Yet it omits the response shape, whether it shows all metals or requires filters, and any usage context, leaving it adequate but sparse.

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?

The schema has 100% coverage for the single api_key parameter with a clear description, so the baseline is 3. The description does not add any additional parameter meaning beyond what the schema already states.

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 lists specific analytics metrics (cost basis, average cost per oz, break-even price, unrealized P/L per metal) which clearly indicates the tool's function, and it distinguishes itself from siblings like get_portfolio and get_speculation by focusing on these valuation metrics. However, it lacks an explicit verb, relying on the title 'Get Portfolio Analytics' to convey the action.

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?

There is no guidance on when to use this tool versus alternatives such as get_portfolio or get_daily_brief. No context, prerequisites, or exclusions are provided, leaving the agent to infer usage solely from the metric list.

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.

TDQS

A3.6/5.0
Disambiguation4/5

Most tools target distinct resources and actions (portfolio, spot prices, history, COMEX vault, coin melt, receipts). However, get_portfolio and get_analytics both report cost basis and P/L, and get_daily_brief and get_stack_signal both provide market commentary, creating mild ambiguity.

Naming Consistency5/5

All tools follow a clear verb_noun snake_case pattern, with nine get_* prefixed tools and three distinct action verbs (add_, chat_, scan_). Naming is consistent and predictable.

Tool Count5/5

12 tools is well-scoped for a precious metals platform covering portfolio management, market data, and specialized calculations. Each tool serves a distinct function within that domain.

Completeness3/5

The server supports adding and reading holdings but lacks update/delete operations for holdings, creating a dead end for correcting or removing entries. Market data coverage is thorough, but portfolio lifecycle management is incomplete.

Resources