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 / allOfAdded value: +[
+ {
+ "anyOf": [
+ {
+ "required": [
+ "cwe"
+ ]
+ },
+ {
+ "required": [
+ "input"
+ ]
+ }
+ ]
+ }
+]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?
No annotations exist, so the description carries the full burden. It helpfully discloses that descriptions are truncated and that access requires a signed wallet with 5 free trial calls, but says nothing about error behavior for an invalid or unknown CWE id, or what 'status' means.
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 front-loaded sentence with the resource and return shape first; the pricing/emoji tail is promotional but short. No wasted exposition, though the trailing marketing text could be dropped.
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?
With no output schema, no annotations, and 0% parameter documentation, the description should resolve the id/cwe/input ambiguity and error cases; instead it leaves the agent guessing which of three fields satisfies the anyOf requirement.
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% with three parameters (id, cwe, input), and the schema requires either 'cwe' or 'input'. The description says only 'by numeric id,' which does nothing to explain the id/cwe/input distinction and arguably muddies it — the agent gets no help on which field to populate.
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 (name, truncated description, status). It does not, however, distinguish itself from the sibling x402-cve-lookup, so an agent could confuse CWE with CVE.
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 the verb and the 'numeric id' constraint, but there is no explicit when-to-use guidance, no mention of prerequisites beyond the wallet note, and no exclusion pointing to the CVE lookup sibling.
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.