Skip to main content
Glama
Zalfrie

idx-stock-mcp

by Zalfrie

Harga saham terkini

get_quote
Read-only

Fetch the latest Indonesia Stock Exchange (IDX) quote for a ticker, including daily change, 52-week range, and per-lot price, with market status and data freshness.

Instructions

Ambil harga terakhir saham Bursa Efek Indonesia (BEI/IDX), perubahan harian, rentang 52 minggu, dan harga per lot (100 lembar). Terima kode saham seperti BBCA, BBRI, TLKM, atau indeks IHSG. Selalu sampaikan freshnessNote ke pengguna (status pasar & waktu data). Data untuk informasi, bukan rekomendasi beli/jual. Harga bisa tertunda dari bursa.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tickerYesKode saham IDX, mis. BBCA atau 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 goes further by warning that prices may be delayed from the exchange and that a freshnessNote (market status and data timestamp) must be surfaced to the user. It also clarifies this is informational, not a buy/sell recommendation. No error or rate-limit behavior is described.

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?

Front-loads the purpose, then inputs, then required output behavior and the informational disclaimer. Every sentence carries actionable weight (returned fields, freshnessNote obligation, data caveat) with no filler.

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 no output schema, the description adequately covers inputs, returned fields, and freshness semantics. Minor gaps remain on error behavior for invalid or delisted tickers and on whether index codes need any special format.

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 description coverage is 100% and the single 'ticker' parameter is already documented as 'Kode saham IDX, mis. BBCA atau IHSG'. The description's examples (BBCA, BBRI, TLKM, IHSG) largely duplicate that, so the baseline of 3 applies with no meaningful value added.

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 in Indonesian ('Ambil harga terakhir saham Bursa Efek Indonesia'), and enumerates what it returns: last price, daily change, 52-week range, and price per lot (100 shares). The word 'terakhir' (latest) implicitly separates it from the sibling get_history, and the explicit support for the IHSG index adds scope clarity.

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?

Gives example tickers (BBCA, BBRI, TLKM, IHSG) and instructs the agent to always relay freshnessNote, which implies usage context. However, it never states when to choose this tool over get_history, compare_stocks, or get_portfolio, so routing guidance is left to inference.

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