read_customer
Fetch a customer's full record using their unique ID. This read-only operation is safeguarded by the MCP Security Gateway's access controls.
Instructions
读取单个客户详情(只读)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customerId | Yes |
Fetch a customer's full record using their unique ID. This read-only operation is safeguarded by the MCP Security Gateway's access controls.
读取单个客户详情(只读)
| Name | Required | Description | Default |
|---|---|---|---|
| customerId | Yes |
Changes observed during successful MCP inspections.
v0.1.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It explicitly states '只读' (read-only), which is a useful side-effect guarantee, but it does not disclose error behavior, permissions, or what the returned details contain. The core behavioral trait is covered; operational details are not.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, front-loaded sentence with no filler. Every word earns its place by stating the action, the target, and the read-only nature.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter, read-only tool with no output schema, the description is minimally sufficient: it names the action and the resource. However, it omits any guidance on missing IDs, return shape, and usage boundaries, leaving some context to be inferred.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% and the description never mentions customerId or how to format it. The single parameter is self-explanatory by name, but the description adds no semantic value beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('读取') and a specific resource ('单个客户详情'), and explicitly marks the operation as read-only. The word '单个' distinguishes it from the sibling list_customers, so an agent can tell them apart without inspecting the schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies it is for retrieving one specific customer's details, which contrasts with list_customers, but it never names the sibling or states when not to use it. Guidance is inferred rather than explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.