Skip to main content
Glama
Zalfrie

idx-stock-mcp

by Zalfrie

Bandingkan saham

compare_stocks
Read-only

Compare 2-10 IDX stocks or IHSG over the same period, ranked by total return including dividends when available; otherwise by price return, and show the rankedBy basis.

Instructions

Bandingkan performa 2–10 saham IDX (dan/atau IHSG) dalam rentang waktu yang sama. Diurutkan berdasarkan totalReturnPct (harga + dividen) jika tersedia untuk semua, selain itu priceReturnPct. Sebutkan dasar pengurutan (rankedBy) ke pengguna.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rangeNo6mo
tickersYesDaftar kode saham, mis. ["BBCA","BBRI","IHSG"]

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered; the description adds real behavior beyond that by disclosing the sort key (totalReturnPct incl. dividends when available for all, else priceReturnPct) and instructing the agent to surface rankedBy to the user. It stops short of covering failure modes such as invalid or non-IDX tickers.

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?

Three tight sentences: what it does and its scope first, then the ranking rule, then the user-facing obligation. No filler, no repetition, and the most decision-relevant fact (ranked by total return when available) is front-loaded.

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 no output schema, the description usefully names the return fields (totalReturnPct, priceReturnPct, rankedBy) an agent will need to interpret results, and annotations cover safety. Remaining gaps are minor for a two-parameter read tool: error behavior for out-of-range ticker counts or unknown symbols.

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 50%: tickers is documented in the schema, range is not (it carries only an enum and default). The description restates the 2–10 bound and clarifies that one range applies uniformly across all compared tickers, but adds no format or syntax detail for ticker codes beyond the schema example.

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?

States a specific verb and resource ('Bandingkan performa'), plus hard scope limits: 2–10 tickers, IDX stocks and/or IHSG, single shared time range. Those constraints (multi-ticker, bounded count) inherently separate it from the single-ticker siblings get_quote and get_history.

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?

Usage is implied by the scope statement (use this when comparing several stocks over one range) but never stated as guidance. No alternative is named — nothing tells the agent why to pick this over calling get_history repeatedly, nor what happens if only one ticker is supplied.

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

Deploy Server

Other Tools