Skip to main content
Glama

Parse Plate

parse_plate

解析中国大陆机动车号牌:支持普通蓝牌/黄牌(7 位,如 鲁B12345、京A12345)与新能源绿牌(8 位,如 粤BD12345、沪AD12345),返回省份、发牌地市、是否新能源及动力类型(D 纯电动 / F 插混或燃料电池);内置全国 31 省简称与 392 个地市字母代码表。

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": {
      "plate": "<plate>"
    },
    "name": "parse_plate"
  }
}

Input Schema

NameRequiredDescriptionDefault
plateYes车牌号,如 鲁B12345(普通)、粤BD12345(新能源小型)、京A12345

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden of disclosure. It does well to state the return content: province, city of issuance, new-energy flag, and power type (D vs F), as well as the built-in reference tables (31 provinces, 392 city codes). However, it says nothing about what happens with unsupported or malformed input, or whether the tool is side-effect free; for a parser, these are the main behavioral risks an agent needs to know.

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?

Everything is packed into one front-loaded sentence that opens with the parsed resource and scope. It is dense but readable; a few example plates are repeated in both the description and the schema, which is minor waste.

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?

An output schema exists, so the description's explanation of return fields is a bonus rather than a necessity. For a single-parameter parser this is nearly complete; only error/edge-case behavior for unsupported plate types is unaddressed.

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 coverage is 100% and there is a single parameter, so the schema already documents `plate` and its examples. The description reinforces format expectations (7 位 vs 8 位, D/F semantics for the third character) but adds no syntax rules beyond what the schema example shows. A 3 matches the baseline when the schema is doing the work.

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?

The description names a specific verb and resource (解析中国大陆机动车号牌) and enumerates the supported formats with concrete examples: 7-character blue/yellow plates (鲁B12345) and 8-character new-energy green plates (粤BD12345). This scope is enough to distinguish the tool from parse_id_card, parse_phone, and lookup_region because it is limited to Chinese license plates.

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?

The described plate formats implicitly define when the tool applies: mainland plates only, heavy with 7 or 8 characters. However, the definition never states when not to use the tool: it does not say how it relates to lookup_region, or whether it handles plates outside its supported formats, such as 港澳, 军牌, or 使领馆 plates. As a result, the agent must infer the boundary conditions.

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