Skip to main content
Glama

Query Logistics

query_logistics

查询快递物流轨迹:输入快递单号 number(必填),可传 carrier 指定快递公司(支持编码如 shunfeng/zhongtong/yuantong/shentong/yunda/jd/ems,或中文名如 顺丰/中通/圆通/申通/韵达/京东/EMS;不传则按单号规则自动推测)。顺丰、中通部分单号需补充 phone_tail=收件人手机号后4位。返回物流状态、是否签收、轨迹时间轴(时间+内容)。数据源为快递100公开免费接口。

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": "query_logistics"
  }
}

Input Schema

NameRequiredDescriptionDefault
numberNo快递单号,如 SF0218947552508、YT7460266600081、773170861031705
carrierNo快递公司编码或中文名(可选,不传自动推测),如 shunfeng/顺丰
phone_tailNo收件人手机号后4位(顺丰/中通部分单号必填,可选)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/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. It usefully discloses the data source (快递100公开免费接口) and enumerates the response fields (status, signed flag, timeline), but says nothing about failure modes, rate limits, or what happens with invalid/unknown tracking numbers.

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?

The purpose is front-loaded and the parenthetical is densely packed with useful scoping detail; every clause about carrier codes or phone_tail earns its place. It is somewhat long but not padded.

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 three-parameter read tool with a full schema and an output schema, the description covers purpose, parameter nuances, and return fields. The only remaining gap is error/edge-case behavior, which the output schema does not reasonably cover.

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 already 100%, so the baseline is 3. The description does add value by listing accepted carrier codes and Chinese names and by clarifying that phone_tail is mandatory for certain 顺丰/中通 numbers — a nuance the schema only marks as optional — but this is incremental over an already complete schema.

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 opens with a concrete verb+resource ('查询快递物流轨迹') and lists the inputs and returned fields, so an agent immediately knows this is the tracking-query tool rather than detect_carrier or list_couriers. It stops short of naming siblings explicitly, so the differentiation is implicit.

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?

It clearly states when to supply carrier versus letting it be auto-inferred, and when phone_tail is required (顺丰/中通部分单号). It does not mention the sibling detect_carrier as a fallback for guessing, nor does it state when this tool should be avoided.

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