Skip to main content
Glama

OpenAny

Legal Provision Detail API

yuandian_post_open_rh_ft_detail

Retrieves details of a single legal provision. The request body must not be empty. id takes precedence when locating the provision; alternatively, use fgmc with ftnum to locate a specific provision in a named regulation. refer_date can be supplied to locate the version applicable on a specified date. Returns provision text, provision number, parent regulation ID and name, validity status, publication and effective dates, and related information. Uses the caller's OpenAny gateway credentials. Charges and authorization are determined by the gateway.

Input Schema

NameRequiredDescriptionDefault
idNoID of the detail target.
fgmcNoRegulation name (required when `id` is empty)
ftnumNoProvision number/name (required when `id` is empty)
refer_dateNoReference date used to determine the laws and regulations effective at that time; if omitted, uses the currently effective version. Format: yyyy-MM-dd

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does add non-obvious operational context: the request body must not be empty, credentials come from the caller's OpenAny gateway, and 'charges and authorization are determined by the gateway' warns of possible billing/entitlement gating. It omits failure behavior (unknown id or fgmc) and does not clarify what 'related information' contains.

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?

Front-loaded with the identification and locator rules before the return-shape sentence and the gateway note; nearly every clause carries information. The closing gateway/billing sentences are slightly verbose and could be compressed, but nothing is padding.

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, the description compensates by enumerating the returned fields (provision text, number, parent regulation id/name, validity status, publication and effective dates). Combined with locator precedence and point-in-time selection, an agent has enough to call it correctly; only error/empty-result behavior is unspecified.

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 already 100%, so the baseline is 3, but the description adds semantics the schema lacks: the precedence of id over fgmc/ftnum, the requirement pairing of fgmc with ftnum, and that refer_date selects a historically effective version rather than a plain filter. These are decision-relevant rules beyond the field descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Retrieves details of a single legal provision') and the description makes clear it is a single-record lookup rather than a list/search. It does not name the sibling it replaces, so an agent must infer that yuandian_post_open_rh_ft_search is the discovery step that precedes this detail call.

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?

Gives concrete routing rules inside the tool: 'id takes precedence when locating the provision; alternatively, use fgmc with ftnum', plus 'refer_date can be supplied to locate the version applicable on a specified date'. That is genuine when/how guidance, though it says nothing about when to prefer this over the sibling search endpoints or what to do when no matching provision exists.

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.