PortfolioFit
Server Details
Check normalized portfolios against mandates and calculate allocation constraints.
- Status
- Healthy
- Uptime
- 99.4% over 47 days
- Last Tested
- Transport
- Streamable HTTP ยท MCP 2025-11-25
- URL
TDQS
Scored across 2 tools
Each tool targets a clearly distinct task: one performs deterministic arithmetic checks on holdings, the other evaluates semantic alignment against a mandate. Their purposes do not overlap, and the descriptions explicitly warn against confusing them.
Both tool names follow a consistent verb_noun pattern (calculate_portfolio_constraints, evaluate_portfolio_alignment), using clear action verbs and domain-specific objects. The naming is uniform and predictable.
With only two tools, the server feels minimal for the PortfolioFit domain. While each tool serves a specific purpose, the set is at the lower boundary of what is considered reasonable, making it borderline acceptable.
The core workflow of calculating constraints and evaluating alignment is covered, but the server relies on external preprocessing of holdings and mandates. Minor gaps exist, such as the lack of a tool to interpret natural-language mandates or extract data from files, but these can be worked around.
Available Tools
2 toolscalculate_portfolio_constraintsCalculate portfolio constraintsAIdempotentInspect
Calculate explicit portfolio constraints deterministically from normalized holdings. Use this for arithmetic checks, not for interpreting natural-language mandates.
| Name | Required | Description | Default |
|---|---|---|---|
| holdings | Yes | ||
| constraints | Yes | ||
| base_currency | No | USD | |
| idempotency_key | Yes | ||
| source_warnings | No | ||
| composition_scope | No | unknown |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds 'deterministically' and 'normalized holdings' beyond annotations, indicating deterministic output and input normalization. Annotations already cover idempotency and non-destructiveness, so this is useful incremental behavioral context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences long, front-loaded with the core purpose, and contains no redundant information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
While the output schema exists and the purpose/usage are clear, the description omits operational details such as input expectations, edge cases, or any non-obvious behavior. For a tool with a complex schema, more context would be beneficial.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description provides no parameter-level details. The agent can only rely on parameter names and enums, which are insufficient for a tool with six parameters and nested objects.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action (Calculate) and the resource (portfolio constraints) with specific qualifiers ('explicit', 'deterministically', 'normalized holdings'). It also distinguishes this tool from natural-language interpretation, which aligns with the sibling tool evaluate_portfolio_alignment.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly says 'Use this for arithmetic checks, not for interpreting natural-language mandates,' providing clear when-to-use and when-not-to-use guidance. Though it doesn't name the sibling directly, the context implies an alternative.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
evaluate_portfolio_alignmentEvaluate portfolio alignmentBIdempotentInspect
Compare a clean mandate with normalized holdings. Do not send PDF, CSV, spreadsheet, or factsheet files; extract them before calling.
| Name | Required | Description | Default |
|---|---|---|---|
| rules | No | ||
| mandate | No | ||
| holdings | Yes | ||
| base_currency | No | USD | |
| portfolio_name | No | Portfolio | |
| idempotency_key | Yes | ||
| source_warnings | No | ||
| composition_scope | No | unknown |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate idempotency and non-read-only behavior. The description adds context about input normalization and file extraction, but does not disclose other behavioral traits such as side effects, rate limits, or error scenarios. It does not contradict annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences long, front-loaded with the core action, and contains no redundant information. The inclusion of the file-handling instruction is relevant and concise.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite having a rich schema with nested objects and an output schema, the description is too minimal. It does not explain the tool's overall workflow, how parameters like rules or composition_scope affect the evaluation, or any prerequisites beyond normalization. The output schema covers return values, but input semantics and invocation context are largely missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate for parameter meanings. It only hints at 'mandate' and 'holdings' through the phrase 'clean mandate with normalized holdings', but gives no detail on idempotency_key, base_currency, rules, or other parameters. This is insufficient for a tool with 8 parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a clear action ('Compare a clean mandate with normalized holdings') with specific resources (mandate and holdings). While it doesn't explicitly differentiate from the sibling tool calculate_portfolio_constraints, the purpose is unambiguous and not a tautology.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides a clear prerequisite ('clean mandate with normalized holdings') and an explicit exclusion ('Do not send PDF, CSV, spreadsheet, or factsheet files; extract them before calling'). However, it does not mention when to use this tool over the sibling calculate_portfolio_constraints, so guidance is partial.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
2 tool updates
- Changed
calculate_portfolio_constraints1 field changed- added
Input schema / $defs / AlignmentHolding / properties / weight / descriptionAdded value: +"Portfolio weight. Prefer a decimal share such as 0.24 for 24%. Percentage-point inputs such as 24 are also accepted and normalized when the supplied holdings use that convention."
- Changed
evaluate_portfolio_alignment1 field changed- added
Input schema / $defs / AlignmentHolding / properties / weight / descriptionAdded value: +"Portfolio weight. Prefer a decimal share such as 0.24 for 24%. Percentage-point inputs such as 24 are also accepted and normalized when the supplied holdings use that convention."
2 tool updates
- First observed
calculate_portfolio_constraints - First observed
evaluate_portfolio_alignment
Related MCP Connectors
Deterministic decision guardrail for AI agents and bots. Verifies pre-trade economics (long-only).
Policy check on a described yield position. Complement to yieldhunter. Research only.
Portfolio scenarios with instrument checks, Monte Carlo analysis and interactive reports.
Portfolio risk analytics โ VaR, Monte Carlo, optimization, options Greeks, stress testing.
Related MCP Servers
- AlicenseAqualityBmaintenanceWhat it does: * Portfolio risk profiling (per-asset and portfolio-level) * Target allocation based on risk profile (conservative/moderate/aggressive) * Diversification scoring via HHI index * Sharpe proxy calculation * Concentration risk detection * Rule-based rebalance recommendations101MIT
- AlicenseAqualityDmaintenanceMCP server for portfolio rotation analysis. Score holdings and candidates across 5 dimensions, identify optimal swaps, validate with risk checks and backtests.11MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP-compatible AI agents to manage Mandates and execute USDC-denominated trades on Arc, including checking equity, holdings, active rules, available loss headroom, fetching Chainlink prices, and swapping approved assets. Rule violations such as excessive trade size, insufficient balance approvals, expired deadlines, or transfers involving unauthorized recipients produce clear failure states containing actionable guidance.3 npmMIT
- AlicenseNot gradedqualityBmaintenancePre-trade risk validation and position sizing for AI trading agents via G-formula and Iron Fist.2MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.