Skip to main content
Glama

Stock Trends Market Intelligence

Compare Stock Trends Portfolios

stocktrends_compare_portfolios
Read-only

Purchase the API's analytical comparison of two supplied portfolios. It does not execute trades or manage assets.

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": {
      "left": "<left>",
      "right": "<right>"
    },
    "name": "stocktrends_compare_portfolios"
  }
}

Input Schema

NameRequiredDescriptionDefault
leftYes
rightYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the 'does not execute trades or manage assets' line largely restates structured data. The one genuinely additive signal is 'Purchase', hinting at a metered/cost-incurring call, but it is not explained (credits? budget?) and the non-idempotent hint is left unaddressed despite a comparison seemingly being deterministic.

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?

Two short sentences with no filler, and the core purpose leads. The phrasing 'Purchase the API's analytical comparison' is slightly awkward and buries the operation behind the billing framing.

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?

With no output schema, the description should say what the comparison yields, but it is silent on return content. Combined with 0% param coverage and a two-nested-array signature, an agent lacks the information needed to construct a correct call.

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% and the description never names the two required parameters (left/right), their weight semantics, the 1-25 item bounds, or the symbol_exchange pattern. 'Two supplied portfolios' only faintly implies a two-argument shape, so the description fails to compensate for the absent schema documentation.

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 identifies the resource (analytical comparison of two portfolios) and a verb (compare matched by the name), but "Purchase the API's..." is an odd framing that makes it unclear whether this is a paid metered operation. It gives no differentiation from the close sibling stocktrends_evaluate_portfolio, which also analyzes a portfolio.

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 choose this over stocktrends_evaluate_portfolio, construct_portfolio, or evaluate_symbol, and no stated preconditions such as needing resolved instruments or valid symbol_exchange formats. The only contextual claim is a negative ('does not execute trades or manage assets'), which is a boundary, not usage guidance.

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.