Skip to main content
Glama

welfare.detail

welfare_detail

[需要登录] 查询指定福利的详细内容,包括检查项目列表、规则说明、适用机构等。

鉴权:需要用户登录令牌。未登录调用返回 401。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "welfareid": "<welfareid>"
    },
    "name": "welfare_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
vendoridNo
welfareidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations supplied, the description carries the behavioral burden and does meaningful work: it declares a login-token requirement and a concrete failure mode (401 when unauthenticated), and lists the categories of data returned. It still says nothing about permissions/scope per vendor, rate limits, or error behavior beyond 401.

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?

Two short sentences, front-loaded with the [需要登录] flag and then the purpose, with auth details clearly separated. Minor redundancy between the bracketed login flag and the dedicated 鉴权 sentence.

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 read-only detail lookup with no output schema, the description tells the agent what the response contains and that a token is required, which is what an agent needs before invoking. The unexplained vendorid parameter and absent scope/error detail keep it short of complete.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must explain both parameters. '指定福利' loosely implies welfareid is the target, but vendorid is never mentioned anywhere, leaving its meaning (tenant/vendor scoping) entirely undocumented in both schema and description.

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?

The description states a specific verb and resource (查询指定福利的详细内容) and enumerates the returned content (检查项目列表、规则说明、适用机构). The 'detail of one welfare' scope implicitly distinguishes it from the sibling welfare_list, though no sibling is named.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: call this when you already have a welfareid and need its full contents rather than a list entry. There is no explicit when-to-use/when-not statement and no named alternative such as welfare_list.

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