Skip to main content
Glama

CeylonCharts - Colombo Stocks Exchange (CSE) data for AI Agents

Get live quotes

get_quotes
Read-onlyIdempotent

Get a live price snapshot for CSE stocks -- price, change, and change% for one or more symbols, or every CSE stock at once. During market hours (09:30-14:30 IST) this reflects the latest intraday tick; outside market hours it falls back to the last session's closing price. Returns CSV, one row per symbol. Unlike a single-symbol lookup, one bad entry in a batch does not fail the whole call -- a symbol that didn't resolve just comes back with empty price fields in that row, and a trailing note after the table lists which symbols were not found or ambiguous (with candidates for the ambiguous ones) -- call again with the exact symbol for any of those.

Input Schema

NameRequiredDescriptionDefault
allNoReturn every CSE stock in one response. Mutually exclusive with `symbols`.
symbolsNoComma-separated CSE tickers or company names (e.g. "SAMP,JKH.N0000"), typo-tolerant, capped at 50 per call. Mutually exclusive with `all` — provide exactly one of the two; omit this and set `all=true` instead for every CSE stock.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / symbols / description
      Previous value: -"Comma-separated CSE tickers or company names (e.g. \"SAMP,JKH.N0000\"), typo-tolerant, up to 50. Omit and set `all=true` instead for every CSE stock. Exactly one of `symbols`/`all` is required."New value: +"Comma-separated CSE tickers or company names (e.g. \"SAMP,JKH.N0000\"), typo-tolerant, capped at 50 per call. Mutually exclusive with `all` — provide exactly one of the two; omit this and set `all=true` instead for every CSE stock."
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Despite annotations already covering read/safe/idempotent, the description adds substantial behavioral context: market-hours intraday tick vs out-of-hours closing-price fallback, and the batch-tolerance behavior (a bad symbol yields empty price fields rather than failing the call). It even documents the trailing not-found/ambiguous note and the retry path — genuinely useful beyond the structured fields.

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?

Front-loaded with the core purpose, then market-hours nuance, then return format, then edge-case handling. It is dense but every sentence carries distinct information; the batch-error sentence is long but justified by the non-obvious behavior it discloses.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 carries the return burden and does so: CSV format, one row per symbol, and the trailing note listing unresolved/ambiguous symbols. Combined with timing and error semantics, an agent has everything needed to call and interpret this tool.

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%, so both `all` and `symbols` are already fully documented including mutual exclusion and typo-tolerance. The description restates the one-vs-all usage but adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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 ('Get a live price snapshot for CSE stocks') and names the exact fields returned (price, change, change%). It clearly reads as a current snapshot tool, distinguishing it from historical siblings like get_ohlc_data or get_chart.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explains the two usage modes ('one or more symbols, or every CSE stock at once') and gives the retry instruction for unresolved symbols. It stops short of explicitly naming sibling alternatives (e.g. get_ohlc_data for historical), so it is clear context without full exclusion 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.

Resources