Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

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

NameRequiredDescriptionDefault
idNo
cweNo
inputNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / allOf
      Added value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "required": [
      +          "cwe"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "input"
      +        ]
      +      }
      +    ]
      +  }
      +]
  2. Changed3 schema fields changed
    • removedInput schema / properties / cwe / description
      Removed value: -"Cwe to process"
    • removedInput schema / properties / id / description
      Removed value: -"Id to process"
    • removedInput schema / properties / input / description
      Removed value: -"Input to process"
  3. First observed

TDQS

C2.9/5.0
Behavior2/5

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.

Conciseness4/5

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.

Completeness2/5

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.

Parameters2/5

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.

Purpose4/5

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.

Usage Guidelines3/5

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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.