Skip to main content
Glama

get_filings

Read-onlyIdempotent

Retrieve up to 50 HKEX filings by ID in one call. Get metadata, optional text window, and tables; missing IDs are reported separately.

Instructions

Use this to read several filings in one call (up to 50 ids).

Returns each filing's metadata plus, when include_text is true, a bounded text window. Ids not found are listed in not_found. Text is off by default. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filing_idsYesFiling ids to fetch (1..50); obtain from search_filings.
include_textNoInclude the extracted document text window (off by default).
include_tablesNoInclude extracted document tables.
max_text_charsNoMaximum characters of text to return (0..200000).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, and the description adds useful behavior beyond those: returned metadata, a bounded text window, and that missing ids are listed in 'not_found'. This gives the agent expectations about output shape and edge cases without contradicting annotations.

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?

The description is compact and front-loaded with the primary purpose in the first sentence. Some redundancy exists ('Text is off by default' repeats the schema default), but it is short, readable, and not bloated.

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?

Given that the schema covers all parameter semantics and an output schema exists, the description covers the essential contextual details: batching limit, returned metadata plus optional text window, not-found behavior, and read-only safety. It omits mention of include_tables in prose, but the schema handles that parameter fully.

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 the parameters are already fully documented. The description adds only marginal extra meaning, such as 'bounded text window' and 'text is off by default', which mostly mirrors the schema's max_text_chars and default false values rather than adding substantive new semantic detail.

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?

The description opens with a specific action and resource: 'read several filings in one call (up to 50 ids)'. This clearly states what the tool does and differentiates it from siblings like get_filing by emphasizing the batched/batch nature.

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?

The instruction 'Use this to read several filings in one call' gives a clear batching use case and the read-only nature is reinforced by 'Read-only'. It does not explicitly name alternatives or exclusion conditions, but the batching framing gives enough context for an agent to select it over singular or search tools.

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