Skip to main content
Glama

portfolio-analysis

TRADING(info): portfolio value, allocation and concentration analysis. INFORMATION ONLY. holdings={"bitcoin":0.5,"ethereum":2}. [x402: 10.0 USDC on Base, pay-per-use]

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "holdings": "<holdings>"
    },
    "name": "portfolio-analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
holdingsYesJSON {"bitcoin": 0.5, "ethereum": 2}

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / holdings
      Added value: +{
      +  "description": "JSON {\"bitcoin\": 0.5, \"ethereum\": 2}",
      +  "type": "string"
      +}
    • removedInput schema / properties / input
      Removed value: -{
      -  "description": "service input",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "input"
      -]New value: +[
      +  "holdings"
      +]
  2. Added

TDQS

C2.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose genuinely useful behavior beyond structure: the call is paid per use (x402, 10.0 USDC on Base) and is informational only. It says nothing about output shape, price/data source, error behavior, or whether assets beyond bitcoin/ethereum are accepted.

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?

It is short and the payment term is present, but the structure is compressed to the point of being cryptic ('TRADING(info)', bracketed billing tag) and the holdings example duplicates information already in the schema.

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 one required parameter, no output schema, and no annotations, the description covers the payment model and read-only nature, which is what an agent most needs to avoid surprise charges. It remains incomplete about returned values and input constraints, so it is adequate but not fully self-sufficient.

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% for the single 'holdings' parameter, so the baseline is 3. The description's holdings example merely repeats the schema's own example JSON and adds no new meaning such as formatting rules, supported symbols, or precision handling.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the analysis dimensions (portfolio value, allocation, concentration), so an agent can roughly tell what it produces. However, it is framed as a telegraphic noun phrase with an unexplained 'TRADING(info)' prefix rather than a clear verb+resource statement, and it does not distinguish itself from obvious siblings such as 'analizar-cartera' or 'risk-analysis'.

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?

'INFORMATION ONLY' implies this is a non-mutating analysis rather than an execution tool, which is a mild usage cue. There is no guidance on when to choose this over the portfolio-style siblings, no prerequisites, and no statement of what input domain is supported.

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.