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

Map SbD-ToE Review Scope

map_sbd_toe_review_scope
Read-only

Maps changed files to the SbD-ToE knowledge bundles that require review, with explicit reasoning per path. Use it to scope security reviews by risk level and project context.

Instructions

Given a set of changed files, maps which SbD-ToE knowledge bundles should be reviewed, with explicit reasoning per path.

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": {
      "changedFiles": "<changedFiles>",
      "riskLevel": "<riskLevel>"
    },
    "name": "map_sbd_toe_review_scope"
  }
}

Input Schema

NameRequiredDescriptionDefault
riskLevelYesProject risk level.
diffSummaryNoDiff summary (truncated to 500 chars).
changedFilesYesList of paths relative to the repository root.
projectContextNoAdditional project context (optional).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

B3.3/5.0
Behavior3/5

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

Only readOnlyHint=true is supplied, so the safety profile is already known and the description adds the useful behavioral note that output includes per-path reasoning rather than a bare list. It still does not disclose whether the mapping is deterministic or heuristic, how riskLevel changes the result, or how 'knowledge bundles' are represented, which matters since there is no output schema.

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?

A single front-loaded sentence with the input precondition first and the output trait second; every clause carries information and there is no filler. It is arguably too terse for a tool with a nested object parameter and no output schema, but the wording itself is efficient.

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?

For a tool with four parameters, a nested context object, an enum-driven risk level, and no output schema, one sentence is thin: it never explains how riskLevel or projectContext influence the mapping, nor what the returned bundles or reasoning look like. The only completeness credit is the hint that reasoning is emitted per path.

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%, so all four parameters (including the nested projectContext object and the L1/L2/L3 riskLevel enum) are already documented in the schema. The description adds only that inputs are 'changed files' and that reasoning is produced 'per path', which is marginal meaning beyond the schema and earns the baseline rather than more.

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 description states a specific verb and resource: given changed files, it 'maps which SbD-ToE knowledge bundles should be reviewed', plus the output trait of 'explicit reasoning per path'. That is clear and concrete, but it does not distinguish itself from near-identical siblings such as map_sbd_toe_applicability or map_sbd_toe_regulatory_activation, which share the same 'map content to SbD-ToE scope' shape.

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?

The trigger condition is implied by 'Given a set of changed files' – an agent can infer this runs over a diff to determine review scope. However, there is no explicit when-not guidance and no named alternative (e.g., applicability mapping) to route to when the input is not file-based, leaving the agent to infer the boundary between this and the other map_* tools.

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