x402-cwe-lookup
Cwe Lookup: Fetches a CWE weakness by numeric id and returns its name, truncated description and status 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| cwe | No | ||
| input | No |
Cwe Lookup: Fetches a CWE weakness by numeric id and returns its name, truncated description and status 🆓 5 free trial calls per signed wallet
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| cwe | No | ||
| input | No |
Changes observed during successful MCP inspections.
Input schema / properties / cwe / descriptionRemoved value: -"Cwe to process"Input schema / properties / id / descriptionRemoved value: -"Id to process"Input schema / properties / input / descriptionRemoved value: -"Input to process"Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations the description carries the full burden. It usefully discloses the return contents and a rate/auth constraint ('5 free trial calls per signed wallet'), which is real behavioral context, but it omits error behavior (e.g. unknown CWE id) and never reconciles the 'numeric id' claim with a schema that declares all three parameters as strings.
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?
One tight sentence front-loads the verb, resource, and return values, with the trial note appended. No wasted text, though the mixed 'numeric id' vs. string schema wording is a minor structural blemish.
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 tool with three undocumented parameters, no annotations, and no output schema, the description should resolve which parameter to supply and what errors look like. It describes the return payload but leaves the calling contract ambiguous, which is inadequate for this complexity.
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% across three undocumented string parameters (id, cwe, input), none required. The description says lookup is 'by numeric id', which only partially points at `id` and leaves `cwe` and `input` unexplained, so it fails to compensate for the coverage gap.
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?
States a specific verb and resource ('Fetches a CWE weakness by numeric id') and even previews the return shape (name, truncated description, status). It is clearly distinguishable from the neighboring x402-cve-lookup and x402-cvss-score tools, though the id/cwe/input parameter ambiguity slightly muddies the target resource.
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?
There is no when-to-use or when-not-to-use guidance and no named alternative. The only contextual note is the pricing/trial line, which is not selection 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.