Skip to main content
Glama

Engine Heart

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

Input Schema

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

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?

With no annotations, the description carries the full burden, and it does disclose the return payload shape, the data source (快递100 public free API), and the phone_tail prerequisite for SF/ZTO. It says nothing about failure modes (invalid/unknown tracking numbers, unsupported carriers), rate limits, or latency on a free public endpoint, which is a real gap for a network-dependent tool.

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?

A single dense paragraph that is front-loaded with the purpose, then parameter conditions, then return values and data source. No filler sentences, though the phone_tail note partially duplicates the schema text.

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?

No output schema exists, but the description compensates by naming the returned fields, and it covers every parameter with its conditional rules plus the upstream data source. For a simple three-parameter read tool it is essentially complete, with only error-behavior disclosure missing.

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 the schema already defines all three parameters including the carrier auto-inference note and phone_tail requirement. The description adds incremental value by enumerating the supported carrier codes and Chinese aliases, but otherwise restates what the schema already says, so the baseline of 3 is about right.

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?

States a specific verb+resource (query express logistics tracking by tracking number) and enumerates what comes back (status, signed flag, timeline). It is unambiguous about scope, but it never differentiates itself from the sibling tools express.detect_carrier and express.list_couriers, so it stops short of a 5.

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 clear conditional usage: pass carrier or omit it to let the tool infer the courier, and supply phone_tail for certain SF/ZTO numbers. What is missing is any exclusion or alternative routing — it does not say when to call express.detect_carrier or express.list_couriers instead.

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