law_detail
PRO. Fetch law detail/metadata by law_id from search results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| law_id | Yes | ||
| access_token | No | Subscriber token from /success (or Authorization: Bearer) |
PRO. Fetch law detail/metadata by law_id from search results.
| Name | Required | Description | Default |
|---|---|---|---|
| law_id | Yes | ||
| access_token | No | Subscriber token from /success (or Authorization: Bearer) |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so the description carries the full disclosure burden, yet it only adds the vague 'PRO.' marker hinting at a subscription tier. It says nothing about what metadata is returned, whether auth is mandatory, or what happens with an invalid/expired law_id.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single compact sentence with the resource and key front-loaded after a terse tier marker. The cryptic 'PRO.' prefix is the only low-value element.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Two parameters, no annotations, no output schema, and no sibling differentiation; the description never explains what 'detail/metadata' actually contains or whether access_token is required, leaving real gaps for a data-retrieval tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 50%: access_token is documented in the schema, while law_id has no description. The phrase 'by law_id from search results' partially compensates by telling the agent where law_id comes from, but says nothing about format or validity.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (Fetch) and resource (law detail/metadata), plus the keying parameter (law_id). 'from search results' implicitly separates it from the sibling search tools, though it never names them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
'from search results' implies the tool is a follow-up step that requires a law_id obtained from law_search/law_search_pro, but this is left to inference. No explicit when-not-to-use or named alternative is given.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.