Skip to main content
Glama
sbd-toe-mcp
by SbD-ToE

Get SbD-ToE Threat Landscape

get_threat_landscape
Read-only

Retrieves relevant threats for a declared application context based on risk level and concern domains, ordered by scope membership, with pagination and detail levels for security review.

Instructions

Threats for a declared context. ROUTING ≠ COVERAGE: all 24 concerns are accepted, but only 11 have a threat chapter of their OWN (architecture, build, deployment, distribution, iac, logging, monitoring, release, supply_chain, testing, threat_modeling); for the others, threats arrive via the chapters that define the activated controls (routing_basis says which); non-routable ones go to unsupported_concerns. ORDER by MEMBERSHIP of the declared scope (domain chapters first, chapters 01/02 last; then mitigation_confidence, chapter, id) — page 1 IS the relevant part.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "risk_level": "<risk_level>"
    },
    "name": "get_threat_landscape"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMáx. threats por página (default 25). coverage{total,hasMore} + size_estimate sempre presentes.
detailNoSerialization level — the same axis as prepare and select (inline vs by reference). full (default): associated_control_ids / associated_control_names inline on every threat, as the contract publishes them. standard and lista: the controls are referenced through associated_control_legend (measured −50%: the same names were repeated verbatim per threat); for this tool the two are identical — nothing else is served by reference. Same threat set at every level. 'minimal' was renamed 'lista'; the error says so.
offsetNoPágina de threats (0.15.0): índice inicial; ver coverage.nextOffset.
concernsNoOptional concern domains to narrow which chapters are in scope ('agents' = AI-agent governance, harmonizado com consult; enum gerado do vocabulário).
risk_levelYesApplication risk level.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint, and the description adds substantial behavior beyond that: 24 accepted concerns versus 11 with own threat chapters, reliance on routing_basis, non-routable concerns surfaced in unsupported_concerns, and deterministic ordering/page-1 semantics. The only shortfall is that some of this is delivered in compressed jargon rather than plainly stated behavior.

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

Conciseness3/5

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

The purpose is front-loaded and every sentence carries information, but the prose is dense and cryptic, with all-caps fragments ('ROUTING ≠ COVERAGE', 'ORDER by MEMBERSHIP', 'page 1 IS the relevant part') that require re-reading. It is compact rather than clean.

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

Completeness4/5

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

With no output schema and five parameters, the description does the heavy lifting on return shape by naming coverage/total, hasMore, routing_basis, and unsupported_concerns, and by explaining ordering. It is largely complete for the tool's complexity, though the exact threat record fields are only implied.

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

Parameters3/5

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

Schema description coverage is 100% and each parameter (limit, detail, offset, concerns, risk_level) is already documented with enums and defaults in the schema. The description adds little parameter-level meaning beyond referring to the declared scope and routing, so the baseline 3 applies.

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?

The opening 'Threats for a declared context' names the resource and the scoping input, so an agent knows it retrieves threat entries for a risk_level/concern scope. However, the verb is implicit and the description never contrasts itself with nearby siblings such as consult_security_requirements or get_sbd_toe_chapter_brief, so differentiation is left to 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?

It gives genuinely useful operational guidance: page 1 is the relevant part, ordering is by scope membership, and concerns that lack their own threat chapter still route through activated-control chapters. What is missing is explicit when-to-use/when-not guidance naming an alternative tool for cases this tool does not cover.

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