Skip to main content
Glama

Cn Law Detail

cn_law_detail
Read-onlyIdempotent

Metadata for one law/regulation/interpretation record from cn_search_laws: title, category, issuing body, promulgation date, effective date, and in-force status, plus whether article-level text can be extracted via cn_law_article_text. Source: NPC National Database of Laws and Regulations.

Input Schema

NameRequiredDescriptionDefault
idYesRecord id ("bbbs") from cn_search_laws.

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 declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety is covered. The description adds real value beyond them: it discloses the upstream source (NPC National Database) and, importantly, that the response includes a flag telling whether article-level text can be extracted downstream, which affects follow-up planning.

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?

One sentence, front-loaded with the resource and its return fields, with routing hints appended where they matter. Nothing is redundant or padded.

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?

With no output schema, enumerating the returned fields and the extractability flag is the right compensation and is done well. Minor gap: nothing about the result when an id is invalid or the record is out of scope, though for a simple by-id lookup this is a small omission.

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?

There is a single required parameter at 100% schema coverage, and the schema already explains it is the record id from cn_search_laws. The description repeats the same provenance without adding format, validation, or failure semantics, so it sits at the baseline for a fully documented parameter.

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+resource ('Metadata for one law/regulation/interpretation record') and enumerates exactly which fields come back. It also distinguishes itself from both siblings by naming cn_search_laws as the source of the id and cn_law_article_text as the separate path to full text.

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?

Implies a clear workflow: obtain the record id from cn_search_laws, then call this for metadata; and use cn_law_article_text when article-level text is needed. It does not state explicit exclusions (e.g., don't use this if you only need the article body), so it falls short of a full 5.

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.