Skip to main content
Glama
echelongraph

EchelonGraph MCP Server

Official

CWE and its CVEs

get_cwe
Read-onlyIdempotent

Retrieve a CWE's details and its CVEs with severity and KEV status for vulnerability assessment.

Instructions

One CWE (weakness class) and the CVEs classified under it. Returns cwe_id, name and description (from the MITRE CWE catalog EchelonGraph embeds, version catalog_version), total (the active CVEs in EchelonGraph's feed that an NVD, GitHub or CVE.org record classifies under it, rejected and reserved records left out), and cves, one page of 50: each with cve_id, severity, cvss_v3_score, echelongraph_score, echelongraph_severity, score_assessed, kev_listed, published and a shortened description. order says how the rows are sorted (CISA-KEV-listed first, then EchelonGraph score); an answer without order does not state its order, and the note says so. page is the page served, page_size its size and max_page the last page the API serves: a later page is answered as max_page, so past max_page pages total counts CVEs no page lists. echelongraph_score is EchelonGraph's score only when score_assessed is true; the note labels each row that is NOT YET SCORED. A total of 0 says that no CVE in EchelonGraph's feed is classified under that CWE, not that none exists. Pass cwe_id like CWE-79 (or 79) and an optional page (1-200). Its structured result carries state (measured), measured_at (null), method, coverage (total, returned, page, page_requested, page_size, max_page), freshness (null) and notes, with data equal to the API's JSON; the result's last text block repeats it without data (the first text block) and without the note's sentences (the text block before it), with which notes ends. Past 30,000 characters of JSON, the first text block holds data cut to fit, and the note says what the cut leaves out and where to read it (TEXT CUT); so is structured data (DATA CUT), unless full: true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fullNotrue: data in the structured result is the answer whole, however long. Without it, a structured result past 30,000 characters of JSON has its data cut (DATA CUT): in an order the note states, the entries of its longest lists keep only some of their fields, and then the lists only some of their entries; data_truncated is true, and truncated gives each list cut with its total, the number returned and whether its entries are thinned. Whole data is for a program; a client that sizes structured results, as Claude Code does against MAX_MCP_OUTPUT_TOKENS, can refuse an answer past its cap.
pageNopage of 50 CVEs (default 1, max 200)
cwe_idYesa CWE ID, e.g. CWE-79 (or 79)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv3.0.2
    • addedInput schema / properties / full
      Added value: +{
      +  "description": "true: data in the structured result is the answer whole, however long. Without it, a structured result past 30,000 characters of JSON has its data cut (DATA CUT): in an order the note states, the entries of its longest lists keep only some of their fields, and then the lists only some of their entries; data_truncated is true, and truncated gives each list cut with its total, the number returned and whether its entries are thinned. Whole data is for a program; a client that sizes structured results, as Claude Code does against MAX_MCP_OUTPUT_TOKENS, can refuse an answer past its cap.",
      +  "type": "boolean"
      +}
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "coverage": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "max_page": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "page": {
      -                "description": "The page served.",
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "page_requested": {
      -                "description": "The page asked for.",
      -                "type": "number"
      -              },
      -              "page_size": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "returned": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "total": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              }
      -            },
      -            "required": [
      -              "total",
      -              "returned",
      -              "page",
      -              "page_requested",
      -              "page_size",
      -              "max_page"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "What the answer covers; null where the answer says nothing about it."
      -      },
      -      "data": {
      -        "additionalProperties": {},
      -        "properties": {
      -          "catalog_version": {
      -            "description": "The version of the MITRE CWE catalog name and description come from.",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "cves": {
      -            "items": {
      -              "additionalProperties": {},
      -              "properties": {
      -                "cve_id": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "cvss_v2_score": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "cvss_v2_severity": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "cvss_v3_score": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "description": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "echelongraph_score": {
      -                  "description": "EchelonGraph's 0-10 score: a score only when score_assessed is true.",
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "echelongraph_severity": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "kev_listed": {
      -                  "type": [
      -                    "boolean",
      -                    "null"
      -                  ]
      -                },
      -                "published": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "score_assessed": {
      -                  "description": "Whether EchelonGraph has scored the CVE; false: NOT YET SCORED, not scored 0.",
      -                  "type": [
      -                    "boolean",
      -                    "null"
      -                  ]
      -                },
      -                "severity": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "cwe_id": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "description": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "max_page": {
      -            "description": "The last page the API serves; a later page is answered as this one.",
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "name": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "order": {
      -            "description": "How cves is sorted, as the API states it; absent from an API older than the field, which sorted by CVE id.",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "page": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "page_size": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "total": {
      -            "description": "The active CVEs classified under the CWE, rejected and reserved records left out.",
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "freshness": {
      -        "description": "The producing radar's last completed check (last_run_at), where the API serves one.",
      -        "type": "null"
      -      },
      -      "measured_at": {
      -        "anyOf": [
      -          {
      -            "description": "An RFC 3339 instant.",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "When the underlying observation was made, as the API states it; null when the answer does not say or holds no observation."
      -      },
      -      "method": {
      -        "description": "How the numbers were produced.",
      -        "type": "string"
      -      },
      -      "notes": {
      -        "description": "Caveats, one sentence each.",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "state": {
      -        "description": "measured: a measurement of what was asked; an exposure count is measured only with measured_at and method. not_assessed: the answer holds no dated measurement of what was asked, so no count in it is presented as one; it can still relay a count, as what the source holds on record, undated, and its notes (and exposure_state, where the result carries it) say what each count is.",
      -        "enum": [
      -          "measured",
      -          "not_assessed"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "state",
      -      "measured_at",
      -      "method",
      -      "coverage",
      -      "freshness",
      -      "notes",
      -      "data"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "coverage": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "max_page": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "page": {
      -                "description": "The page served.",
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "page_requested": {
      -                "description": "The page asked for.",
      -                "type": "number"
      -              },
      -              "page_size": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "returned": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "total": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              }
      -            },
      -            "required": [
      -              "total",
      -              "returned",
      -              "page",
      -              "page_requested",
      -              "page_size",
      -              "max_page"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "kind": {
      -            "description": "What failed: the request (network, timeout), the answer (http, not_json, not_object, unexpected_shape), the input, or this server.",
      -            "enum": [
      -              "network",
      -              "timeout",
      -              "http",
      -              "not_json",
      -              "not_object",
      -              "invalid_input",
      -              "internal",
      -              "unexpected_shape",
      -              "radars"
      -            ],
      -            "type": "string"
      -          },
      -          "message": {
      -            "description": "The cause: the API's own message, or what went wrong.",
      -            "type": "string"
      -          },
      -          "path": {
      -            "description": "The API path requested, when a request was made.",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "status": {
      -            "anyOf": [
      -              {
      -                "maximum": 9007199254740991,
      -                "minimum": -9007199254740991,
      -                "type": "integer"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "The HTTP status, when the API answered one."
      -          }
      -        },
      -        "required": [
      -          "kind",
      -          "path",
      -          "status",
      -          "message"
      -        ],
      -        "type": "object"
      -      },
      -      "freshness": {
      -        "type": "null"
      -      },
      -      "measured_at": {
      -        "type": "null"
      -      },
      -      "method": {
      -        "type": "null"
      -      },
      -      "notes": {
      -        "description": "Caveats, one sentence each.",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "state": {
      -        "description": "failed: the lookup did not complete. invalid_input: the input was refused, so nothing was looked up. Neither is a finding.",
      -        "enum": [
      -          "failed",
      -          "invalid_input"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "state",
      -      "measured_at",
      -      "method",
      -      "coverage",
      -      "freshness",
      -      "notes",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "coverage": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "max_page": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "page": {
      +                "description": "The page served.",
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "page_requested": {
      +                "description": "The page asked for.",
      +                "type": "number"
      +              },
      +              "page_size": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "returned": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "total": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "total",
      +              "returned",
      +              "page",
      +              "page_requested",
      +              "page_size",
      +              "max_page"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "What the answer covers; null where the answer says nothing about it."
      +      },
      +      "data": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "catalog_version": {
      +            "description": "The version of the MITRE CWE catalog name and description come from.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "cves": {
      +            "items": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "cve_id": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "cvss_v2_score": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "cvss_v2_severity": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "cvss_v3_score": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "description": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "echelongraph_score": {
      +                  "description": "EchelonGraph's 0-10 score: a score only when score_assessed is true.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "echelongraph_severity": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "kev_listed": {
      +                  "type": [
      +                    "boolean",
      +                    "null"
      +                  ]
      +                },
      +                "published": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "score_assessed": {
      +                  "description": "Whether EchelonGraph has scored the CVE; false: NOT YET SCORED, not scored 0.",
      +                  "type": [
      +                    "boolean",
      +                    "null"
      +                  ]
      +                },
      +                "severity": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "cwe_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "description": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "max_page": {
      +            "description": "The last page the API serves; a later page is answered as this one.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "order": {
      +            "description": "How cves is sorted, as the API states it; absent from an API older than the field, which sorted by CVE id.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "page": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "page_size": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "total": {
      +            "description": "The active CVEs classified under the CWE, rejected and reserved records left out.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "data_truncated": {
      +        "description": "false: data is the answer whole. true: the structured result would pass 30,000 characters of JSON with data whole, so data is cut (DATA CUT): the entries of some of its lists keep only some of their fields, or the lists only some of their entries, truncated gives each, and no string is shortened. The same call with full: true returns data whole.",
      +        "type": "boolean"
      +      },
      +      "freshness": {
      +        "description": "The producing radar's last completed check (last_run_at), where the API serves one.",
      +        "type": "null"
      +      },
      +      "measured_at": {
      +        "anyOf": [
      +          {
      +            "description": "An RFC 3339 instant.",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "When the underlying observation was made, as the API states it; null when the answer does not say or holds no observation."
      +      },
      +      "method": {
      +        "description": "How the numbers were produced.",
      +        "type": "string"
      +      },
      +      "notes": {
      +        "description": "Caveats, one sentence each.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "state": {
      +        "description": "measured: a measurement of what was asked; an exposure count is measured only with measured_at and method. not_assessed: the answer holds no dated measurement of what was asked, so no count in it is presented as one; it can still relay a count, as what the source holds on record, undated, and its notes (and exposure_state, where the result carries it) say what each count is.",
      +        "enum": [
      +          "measured",
      +          "not_assessed"
      +        ],
      +        "type": "string"
      +      },
      +      "truncated": {
      +        "additionalProperties": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "returned": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "thinned": {
      +              "const": true,
      +              "type": "boolean"
      +            },
      +            "total": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "total",
      +            "returned"
      +          ],
      +          "type": "object"
      +        },
      +        "description": "Present when data_truncated is true: each list of data that was cut, by its path in data (a dot between the names of an object and a list inside it), with total, its entries in the answer, returned, the entries data holds, and thinned, true when each of them keeps only some of its fields.",
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "state",
      +      "measured_at",
      +      "method",
      +      "coverage",
      +      "freshness",
      +      "notes",
      +      "data_truncated",
      +      "data"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "coverage": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "max_page": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "page": {
      +                "description": "The page served.",
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "page_requested": {
      +                "description": "The page asked for.",
      +                "type": "number"
      +              },
      +              "page_size": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "returned": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "total": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "total",
      +              "returned",
      +              "page",
      +              "page_requested",
      +              "page_size",
      +              "max_page"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "kind": {
      +            "description": "What failed: the request (network, timeout), the answer (http, not_json, not_object, unexpected_shape), the input, or this server.",
      +            "enum": [
      +              "network",
      +              "timeout",
      +              "http",
      +              "not_json",
      +              "not_object",
      +              "invalid_input",
      +              "internal",
      +              "unexpected_shape",
      +              "radars"
      +            ],
      +            "type": "string"
      +          },
      +          "message": {
      +            "description": "The cause: the API's own message, or what went wrong.",
      +            "type": "string"
      +          },
      +          "path": {
      +            "description": "The API path requested, when a request was made.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "status": {
      +            "anyOf": [
      +              {
      +                "maximum": 9007199254740991,
      +                "minimum": -9007199254740991,
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "The HTTP status, when the API answered one."
      +          }
      +        },
      +        "required": [
      +          "kind",
      +          "path",
      +          "status",
      +          "message"
      +        ],
      +        "type": "object"
      +      },
      +      "freshness": {
      +        "type": "null"
      +      },
      +      "measured_at": {
      +        "type": "null"
      +      },
      +      "method": {
      +        "type": "null"
      +      },
      +      "notes": {
      +        "description": "Caveats, one sentence each.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "state": {
      +        "description": "failed: the lookup did not complete. invalid_input: the input was refused, so nothing was looked up. Neither is a finding.",
      +        "enum": [
      +          "failed",
      +          "invalid_input"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "state",
      +      "measured_at",
      +      "method",
      +      "coverage",
      +      "freshness",
      +      "notes",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Addedv2.6.3

TDQS

A4.2/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the readOnly/idempotent/openWorld annotations, the description discloses genuinely non-obvious behavior: page requests past max_page are clamped to max_page, total=0 means 'none in EchelonGraph's feed' rather than 'none exists', echelongraph_score is only valid when score_assessed is true, and results past 30,000 characters are cut (DATA CUT / TEXT CUT) with a note explaining what was dropped. This is exactly the extra context annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is well front-loaded, but the body is a single sprawling block that mixes return-field enumeration, pagination semantics, scoring caveats and truncation mechanics with little structural separation. Much of the content is substantive, yet the sheer density and length make it hard to scan and it is not appropriately sized for its content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with an output schema, the description still covers everything an agent needs: pagination edge cases, ordering and the note when order is absent, scoring validity, truncation behavior and the shape of the structured result. Nothing required to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the schema: the clamping behavior for out-of-range pages ('a later page is answered as max_page, so past max_page pages total counts CVEs no page lists') and the rationale for full: true. The cwe_id format and page bounds are restated from the schema, which earns no extra credit.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names a specific verb and resource ('One CWE (weakness class) and the CVEs classified under it'), which immediately separates it from the single-CVE sibling get_cve and the broader search_cves. An agent can tell what this returns without opening the schema.

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 resource scope (fetch a CWE class plus its classified CVEs) and by 'Pass cwe_id like CWE-79 (or 79) and an optional page', but the description never explicitly states when to choose this over get_cve, search_cves, or cve_summary. There are no stated exclusions or alternative-routing rules, so an agent must infer the niche.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.