Skip to main content
Glama
fipiran-mcp

fipiran-mcp

by sepehr071

Compare funds

fp_compare
Read-onlyIdempotent

Compare 2 to 8 Iranian mutual funds or ETFs side by side to review type, size, NAV, period returns, allocation, and manager before making investment decisions.

Instructions

Put 2 to 8 funds side by side: type, size, NAV, returns for every period, allocation, manager.

Ids are reg_no (and group_id) of search rows.

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": {
      "funds": "<funds>"
    },
    "name": "fp_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
fundsYes'regNo' or 'regNo-groupId', e.g. ['12288-1', '11695'].

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.0
    • changedInput schema / properties / funds / description
      Previous value: -"2 to 8 funds as 'regNo' or 'regNo-groupId', e.g. ['12288-1', '11695']."New value: +"'regNo' or 'regNo-groupId', e.g. ['12288-1', '11695']."
  2. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds value beyond that by enumerating the comparison dimensions returned, which matters because there is no output schema; it does not discuss cost or response size for 8 funds, but that is a minor omission here.

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?

Two sentences, zero filler, with the cardinality and the compared attributes front-loaded. The second sentence handles the id format compactly and points at the source of those ids.

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?

For a single-parameter read tool with full annotation coverage, the definition covers purpose, cardinality, id format and the shape of the result. Only the absence of explicit sibling routing and pagination/scale notes keeps it from being fully complete.

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 coverage is 100% and the schema already gives the 'regNo' or 'regNo-groupId' format with an example, so the baseline applies. The description's contribution ('Ids are reg_no (and group_id) of search rows') only reinforces what the schema shows — no new syntax or edge-case guidance.

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?

Specific verb and resource: 'put 2 to 8 funds side by side' followed by exactly which attributes get compared (type, size, NAV, returns, allocation, manager). This implicitly separates it from fp_fund (single fund) and fp_search_funds (discovery), though it never names a sibling explicitly.

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 2-to-8 cardinality and the id provenance ('of search rows') imply the workflow — search first, then compare a small candidate set. However, there is no explicit statement of when to prefer this over fp_fund or fp_history, and no note on behavior with fewer than 2 or more than 8 ids.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.