Skip to main content
Glama

Hk Law Section

hk_law_section
Read-onlyIdempotent

Full text of ONE section of a Hong Kong law, by Cap. number or title plus section number in any common spelling, "2", "s2", "section 2", "14A". Returns the English text AND the Traditional Chinese text of that SAME section side by side, both original-language and equally authentic (Official Languages Ordinance, Cap. 5 s.4B), never one a "translation" of the other, plus the section's in-force status and version-valid-from date. A long law is never returned whole; use hk_law_toc to find section numbers, and call this once per section.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "cap": "486",
      "section": "2"
    },
    "name": "hk_law_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
capNoChapter number (from hk_law_search or hk_law_info), e.g. "486" or "486A".
titleNoEnglish or Traditional Chinese title, used when cap is not known.
sectionYesSection number, any common spelling: "2", "s2", "section 2", "14A".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the description goes further and discloses the actual payload: English AND Traditional Chinese of the same section, plus in-force status and version-valid-from date. It even explains the legal framing of why neither language is a translation (Cap. 5 s.4B), which prevents an agent from misreporting one as derived from the other.

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 key facts — one section, both languages, use hk_law_toc first — are front-loaded, and every sentence carries information. It is denser and longer than strictly necessary, with the parenthetical legal citation and heavy quoting slightly slowing scanning.

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?

There is no output schema, so the description must describe returns, and it does: both language texts side by side, in-force status, and version-valid-from. Combined with the per-section calling instruction and the pointer to hk_law_toc, an agent has everything needed to invoke this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns one extra point by making the cap/title relationship explicit as alternatives and by spelling out that section accepts any common spelling including alphanumeric forms like "14A". It does not add much beyond the schema examples, so it stays just above baseline.

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?

Opens with a specific verb+resource+scope: "Full text of ONE section of a Hong Kong law," and immediately scopes it against the sibling by stating "A long law is never returned whole; use hk_law_toc." An agent can distinguish this from hk_law_toc / hk_law_search without opening a schema.

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

Usage Guidelines5/5

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

Explicitly says to call hk_law_toc first to find section numbers and to call this tool once per section, which is a concrete usage pattern rather than an implied one. The cap-or-title selection rule ("by Cap. number or title") also tells the agent which identifier path to take.

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.