Get customer by code
ecourier_get_customer_by_codeA customer (billing account) by its e-Courier customer code: id, name and address. GetCustomerByCode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_code | Yes | e-Courier customer code. |
ecourier_get_customer_by_codeA customer (billing account) by its e-Courier customer code: id, name and address. GetCustomerByCode.
| Name | Required | Description | Default |
|---|---|---|---|
| customer_code | Yes | e-Courier customer code. |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true. The description adds useful return-field information (id, name, address) but provides no additional behavioral context such as authorization needs, not-found behavior, or rate limits.
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?
The description is very short and front-loaded with the resource and return fields. The trailing 'GetCustomerByCode' is mildly redundant, but overall it is efficient.
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?
This is a simple one-parameter read tool with annotations and full schema coverage. Although there is no output schema, the description lists the main returned fields, making it largely complete for an agent to invoke correctly.
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?
There is one parameter and schema description coverage is 100%, so the schema already fully documents customer_code. The description restates the same lookup-key concept without adding format, validation, or lookup semantics 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 clearly identifies the resource (customer/billing account) and the lookup key (e-Courier customer code), and lists returned fields. It implicitly distinguishes itself from the phone-based sibling, but does not explicitly differentiate from ecourier_get_customer.
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?
Usage is implied by 'by its e-Courier customer code', which naturally contrasts with ecourier_find_customer_by_phone, but the description gives no explicit when-to-use, when-not-to-use, or alternative-tool guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.