Skip to main content
Glama

Hk Resolve Symbol

hk_resolve_symbol
Read-onlyIdempotent

Find the HKEX stock code for a company by name — the lookup step before hk_quote. Answers 'what is Tencent's Hong Kong ticker', 'Xiaomi HK code', 'Alibaba Hong Kong listing'. Returns ONLY Hong Kong-listed equities: derivative warrants, CBBCs and non-HK listings (ADRs, US/Frankfurt lines) are excluded, and each match states the code it resolved to so you can confirm it is the company you meant before quoting it. Source: Yahoo Finance search (keyless).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesCompany name, in English or Chinese, e.g. "Tencent", "小米", "HSBC".
limitNoMax matches to return, 1–10 (default 5).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, open-world, idempotent, and non-destructive behavior. The description adds meaningful context: it excludes warrants, CBBCs, ADRs, and other non-HK lines; it states that each match includes the resolved code for disambiguation; and it names the keyless Yahoo Finance source. No contradiction with annotations.

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: the first anchors the purpose, the second adds filtering and disambiguation behavior, and the third gives the source. Every sentence earns its place and the most decision-relevant information 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?

For a simple two-parameter lookup with no output schema, the description provides enough behavioral context: it explains the returned matches include resolved codes, gives scope boundaries, and notes the keyless source. It does not describe the exact result shape or empty-result behavior, but that is not a critical gap given the schema and annotations.

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?

The input schema already covers both parameters at 100%, including examples, range for limit, and defaults. The description adds minor flavor like English/Chinese company names, but it does not introduce new parameter constraints or semantics that the schema doesn't already provide.

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 ('Find'), a specific resource ('HKEX stock code for a company by name'), and concrete example queries. It also differentiates from the sibling hk_quote by positioning itself as the lookup step before it and by scoping to Hong Kong-listed equities.

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?

Clearly tells the agent when to use it: as the lookup step before hk_quote, and it gives representative user phrasings. It does not explicitly name alternative resolution tools like resolve_entity or state when to prefer them, but the scope exclusions provide useful selection 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.