Skip to main content
Glama

Cn Law Article Text

cn_law_article_text
Read-onlyIdempotent

The Chinese text of ONE specific article/provision of a law, regulation, or judicial interpretation found via cn_search_laws, not the whole document. Extracted from the official PDF the NPC database itself serves (that database has no per-article JSON text field). Returns found:false with an explanation rather than a snippet when the article cannot be located or the PDF cannot be read, this tool never fabricates text.

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": {
      "id": "ff8081817b6472a3017b656cc2040044",
      "article": 13
    },
    "name": "cn_law_article_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRecord id ("bbbs") from cn_search_laws.
articleYesArticle number (13) or the Chinese citation itself ("第十三条", "十三条之一").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, and non-destructive status, and the description still adds substantial behavior: the text is extracted from the official NPC-served PDF rather than a per-article JSON field, and failures return found:false with an explanation instead of fabricated snippets. That failure-mode disclosure is exactly the kind of context an agent needs before trusting the output.

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 sentences, front-loaded with what is returned and scoped to one article, then provenance, then failure behavior. No filler and no repetition of the title.

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 two-parameter read tool with no output schema, the description covers purpose, source, and error return. The success payload shape (a bare text field vs. an object) is only implied, which is the one small gap.

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 coverage is 100%, so both parameters are already documented, including that 'article' accepts a number or a Chinese citation. The description reinforces that only one article may be requested and that 'id' comes from cn_search_laws, but adds no format or syntax beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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 names a specific verb and resource — retrieving the Chinese text of exactly one article or provision — and explicitly scopes it against 'the whole document,' which separates it from document-level siblings like cn_law_detail. It also names the discovery path (cn_search_laws), so an agent knows where the id originates.

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?

Usage is clear: call this after finding a record via cn_search_laws when you need one specific article rather than the full text. The exclusion of whole-document retrieval is stated, but no alternative is named explicitly for that case, so the agent must infer which sibling to use instead.

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.