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

Trace SbD-ToE Ontology Graph

trace_sbd_toe_graph
Read-only

Traverse the AppSec Core v1 graph to answer traceability questions across slices, objectives, mechanisms, and practices. Choose a lens and optional anchor for deterministic, paginated results.

Instructions

Curated multi-hop traversal over the AppSec Core v1 relation graph (slices, control objectives, mechanisms, practices) for traceability questions the high-level tools do not expose. Pick a lens: slice_implementation (slice → objectives → implementing mechanisms and realizing practices); objective_realization (objective → mechanisms + practices); mechanism_provenance (mechanism/practice → the objectives it serves → their slices). Optionally scope with anchor (an entity id). Deterministic and paginated (total + cursor; never silently truncated). All edges from the published runtime.

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": {
      "lens": "<lens>"
    },
    "name": "trace_sbd_toe_graph"
  }
}

Input Schema

NameRequiredDescriptionDefault
lensYesTraversal lens. slice_implementation: slice -> objectives -> mechanisms/practices. objective_realization: objective -> mechanisms/practices. mechanism_provenance: mechanism/practice -> objectives -> slices.
pageNo0-based page index. Default: 0.
anchorNoOptional entity id to scope the traversal (a slice id for slice_implementation, a control objective id for objective_realization, a mechanism/practice id for mechanism_provenance). Omit to traverse the whole graph.
pageSizeNoRows per page. Default: 50, max: 200.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A4.1/5.0
Behavior4/5

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

readOnlyHint=true already covers the safety profile, and the description adds genuinely new context: deterministic output, pagination with total + cursor, a guarantee of no silent truncation, and that all edges come from the published runtime. It does not describe error behavior for invalid anchors (e.g. an id of the wrong entity type for the chosen lens), which keeps it from a 5.

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?

The purpose and the three lenses are front-loaded before the optional scoping and pagination notes, and every sentence carries information. The lens list is dense with semicolons and partially duplicated in the schema, which costs a bit of economy but not comprehension.

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?

For a four-parameter, read-only traversal tool with no output schema, the definition covers what the traversal returns (edges by lens), how results are paged (total + cursor), and how to scope or omit the anchor. Missing are a concrete anchor-id format and the behavior when an anchor doesn't match the lens, but the core invocation path is fully specified.

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 coverage is 100% and each parameter already carries a description, including the lens enum mapping and the anchor's per-lens id expectations. The description restates the lens semantics and the anchor scoping without adding format, id-syntax, or validation detail beyond the schema, so baseline 3 applies.

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?

States a specific verb and resource — curated multi-hop traversal over the AppSec Core v1 relation graph — and enumerates the three traversal lenses with explicit arrow chains. It also positions itself against the sibling fleet ("traceability questions the high-level tools do not expose"), so an agent can tell it apart from query_sbd_toe_entities or answer_sbd_toe_manual.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear selecting condition: use this for traceability questions the high-level tools do not expose, and pick a lens based on the entity you start from. The exclusions are slightly vague in that "the high-level tools" are not named, but the lens-by-starting-entity guidance effectively tells the agent when each mode applies.

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