Skip to main content
Glama

Raziel Calculators

Portfolio allocation analyzer

portfolio_allocation
Read-onlyIdempotent

Allocation of a portfolio across asset classes (stocks, bonds, real estate, crypto, venture capital, private equity, cash, other), with a simple diversification score and a concentration read. Holdings in the same class are summed. Interactive version: https://raziel.co/tools/portfolio-allocation

Input Schema

NameRequiredDescriptionDefault
holdingsYesEach holding with its asset class and current value.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false. The description adds useful behavioral context by disclosing that same-class holdings are aggregated and that the output includes a diversification score and concentration read. It does not explain input limits or return format details, but the annotations cover the safety profile.

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 short and front-loads the core purpose, asset classes, and aggregation behavior. The interactive URL and repeated class list are mildly extraneous but do not obscure the main message.

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?

With one required parameter, full schema coverage, and rich annotations, the description is nearly sufficient for correct selection and invocation. Because no output schema exists, it could more fully describe the return structure, but naming the diversification score and concentration read provides adequate context for this simple calculator.

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

Parameters4/5

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

Schema description coverage is 100%, so the parameter and nested fields are already well documented. The description adds meaningful processing semantics by stating that holdings in the same class are summed, which goes beyond the schema's per-holding definitions.

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 clearly states that the tool analyzes portfolio allocation across named asset classes and returns a diversification score and concentration read. It also explains that holdings in the same asset class are summed. It does not explicitly differentiate from siblings, but no sibling is similarly scoped.

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 intended use is implied by the name and description: analyzing a portfolio's asset-class allocation. However, there is no explicit when-to-use guidance, no exclusions, and no named alternatives among the sibling 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