Skip to main content
Glama

PortfolioFit

Server Details

Check normalized portfolios against mandates and calculate allocation constraints.

If you are the author of this connector, you can claim ownership with GitHub, an HTTP challenge, or a DNS record. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Last Tested
Transport
Streamable HTTP
URL
Tool DescriptionsB

Average 3.6/5 across 2 of 2 tools scored.

Server CoherenceA
Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count3/5

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.

Completeness4/5

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 tools
calculate_portfolio_constraintsCalculate portfolio constraintsA
Idempotent
Inspect

Calculate explicit portfolio constraints deterministically from normalized holdings. Use this for arithmetic checks, not for interpreting natural-language mandates.

ParametersJSON Schema
NameRequiredDescriptionDefault
holdingsYes
constraintsYes
base_currencyNoUSD
idempotency_keyYes
source_warningsNo
composition_scopeNounknown

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

Behavior4/5

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.

Conciseness5/5

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.

Completeness3/5

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.

Parameters1/5

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.

Purpose5/5

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.

Usage Guidelines5/5

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 alignmentB
Idempotent
Inspect

Compare a clean mandate with normalized holdings. Do not send PDF, CSV, spreadsheet, or factsheet files; extract them before calling.

ParametersJSON Schema
NameRequiredDescriptionDefault
rulesNo
mandateNo
holdingsYes
base_currencyNoUSD
portfolio_nameNoPortfolio
idempotency_keyYes
source_warningsNo
composition_scopeNounknown

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

Behavior3/5

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.

Conciseness5/5

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.

Completeness2/5

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.

Parameters2/5

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.

Purpose4/5

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.

Usage Guidelines3/5

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.

Frequently Asked Questions

Discussions

No comments yet. Be the first to start the discussion!

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    What 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 recommendations
    10
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Provides risk guardrails for AI trading agents by analyzing portfolio risk, checking trades against policies, and generating risk policies.
    2
    MIT
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources