Skip to main content
Glama

fagai-policy-kb

list_recent

列出库中最新收录的政策文件,按发布日期倒序。

什么时候用:用户问「最近有什么新政策」「本月出台了哪些文件」
「XX 省最近发了什么」这类没有具体检索词、只想看动态的问题。

Args:
    province: 限定省份简称,如「四川」。留空表示全部。
    limit: 返回条数,1-50,默认 20。

Returns:
    文件清单,每行包含日期、标题、文号、层级。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_recent"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
provinceNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/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 largely meets it: it discloses default ordering, default page size, the 1-50 range, and the return format (date, title, 文号, 层级). It does not say whether results are total-capped, whether there is pagination beyond limit, or anything about data freshness or permissions.

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?

Front-loaded one-line purpose, then a distinct when-to-use block, then Args and Returns sections. Every sentence carries information; the only minor redundancy is repeating limit's default of 20, already in the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 an output schema, the definition covers purpose, triggers, defaults, ranges and result shape — nothing an agent needs in order to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate, and it does: province gets an example value ('四川') and the empty-string meaning ('留空表示全部'), while limit gets a range (1-50) and a default (20). Both parameters become unambiguous in a way the bare schema does not provide.

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 and resource ('列出库中最新收录的政策文件') plus the ordering rule (按发布日期倒序). The framing of questions '没有具体检索词、只想看动态' implicitly separates it from search_policy, so an agent can route between the two siblings without reading schemas.

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 trigger phrasings ('最近有什么新政策', '本月出台了哪些文件', 'XX 省最近发了什么') that map directly to user intent, which is stronger than generic 'use when' guidance. It never names search_policy as the alternative or states an explicit when-not-to-use condition, so it stops short of full routing guidance.

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