Skip to main content
Glama

法老在线·法规检索

lawbotter_regulations_search

在法老在线自建法律法规数据库(国家法律/司法解释/行政法规/部门规章)中检索法规。返回法规列表,包含 law_name(法规名称)、law_category(法规类别)、issuing_body(发布机关)、effective_date(生效日期)、status(效力状态,如 现行有效/已废止)等字段。参数:q(检索关键词,必填,如“民法典”“劳动争议”);category(可选,法规类别过滤);mode(可选,检索模式 all=全文/title=标题/content=正文,默认 all);limit(可选,返回条数,默认 20,最大 100);offset(可选,偏移量,默认 0,用于分页)。注意:检索结果用于确认法规是否存在及基本属性;如需具体条文内容请使用 lawbotter_law_query。

Input Schema

NameRequiredDescriptionDefault
qYes检索关键词,如“民法典”“劳动争议”“工伤”
modeNo检索模式:all=全文,title=标题,content=正文(默认 all)
limitNo返回条数,默认 20,最大 100
offsetNo分页偏移量,默认 0
categoryNo法规类别过滤(可选),如“法律”“司法解释”“行政法规”“部门规章”

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?

With no annotations, the description carries the full burden and does useful work: it names the returned fields (law_name, law_category, issuing_body, effective_date, status), explains that status values look like 现行有效/已废止, and discloses the 20-item default with a 100 cap plus offset-based pagination. It stops short of permissions, rate limits, or result ordering.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and return-shape statements are front-loaded and earn their place, but the five-parameter recap duplicates schema text that is already at 100% coverage, adding length without new information. Structure is clean; economy is only fair.

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?

There is no output schema, and the description compensates by listing the returned fields, the status vocabulary, and pagination behavior, which is enough for correct invocation. The only gap is the missing cross-reference to lawbotter_regulations_detail for per-regulation lookups.

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 description coverage is 100%, so all five parameters are already documented in the schema; the description's parameter recap (defaults, max, mode meanings) largely restates that text. Baseline 3 applies since the description adds examples but no semantics beyond the schema.

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 (检索法规) and scopes it to a named self-built database with four enumerated categories. It also names the sibling it is not, lawbotter_law_query, so an agent can distinguish it without inspecting either schema.

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?

Explicitly says results are for confirming whether a regulation exists and its basic attributes, and routes article-level needs to lawbotter_law_query. However it never mentions the closest sibling, lawbotter_regulations_detail, which an agent would plausibly pick for the same detail need.

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.

Resources