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

Resolve SbD-ToE Entities

resolve_entities
Read-only

Resolve published security-manual entities by record type and dot-notation or comparison filters across runtime, AppSec Core, and regulatory data; use it when high-level tools cannot answer the query.

Instructions

Low-level entity resolver over the published artefacts, routed by record_type: runtime v0 (requirement, control, threat, artifact, evidence_pattern, links), AppSec Core v1 (appsec_slice, control_objective, mechanism, appsec_practice, appsec_artifact, appsec_relation) and the regulatory overlay (regulatory_framework/_obligation/_mapping/_playbook). Filters: dot-notation ('applicable_levels.L2'), {gte, lte}, {in: [...]}, array membership. Unpublished overlay ⇒ total 0 with a declared reason. Use when the high-level tools do not cover the query. Nothing invented.

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": {
      "record_type": "<record_type>"
    },
    "name": "resolve_entities"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results to return. Default: 50, max: 200.
filtersNoKey-value filters on entity fields. Dot-notation for nested fields: {"applicable_levels.L2": true}. Comparison ops: {cvss_score: {gte: 7.0}} or {risk_level: {in: ["L2","L3"]}}. Array fields: {roles_normalized: "developer"} checks membership.
record_typeYesRecord type to resolve. Runtime v0: requirement, control, threat, artifact, evidence_pattern, requirement_control_link (and related links). AppSec Core v1: appsec_slice, control_objective, mechanism, appsec_practice, appsec_artifact, appsec_relation. Regulatory overlay: regulatory_framework, regulatory_obligation, regulatory_mapping, regulatory_playbook. An unknown value returns a declared error listing the valid record types.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A3.7/5.0
Behavior4/5

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

readOnlyHint is already set, and the description adds genuinely new behavior: unpublished regulatory overlays return total 0 with a declared reason, unknown record_type returns a declared error listing valid types, and 'Nothing invented' signals no fabricated results. Rate limits and result-shape details beyond the total-0 case are not covered, so it stops short of 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?

Front-loaded with purpose and routing, and every clause is dense with useful specifics. The long record_type enumeration duplicates what the schema's record_type description already lists, which is the main wasted space, but the text remains readable and purposeful.

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 read-only, 3-parameter lookup tool with 100% schema coverage and no output schema, the description covers routing, filter semantics, and notable edge-case responses (empty overlay, unknown type). Return shape beyond 'total' is not explained, which is the remaining minor gap.

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 three parameters are already documented in structured fields. The description restates the filter syntax (dot-notation, gte/lte/in, array membership) and the record_type families, which largely duplicates the schema rather than adding new meaning. Baseline 3 is appropriate.

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?

Names a specific verb and resource ('entity resolver over the published artefacts') and states the routing key ('routed by record_type'). It signals its position as the low-level fallback rather than a peer of the high-level tools, though it never names the specific sibling (e.g. query_sbd_toe_entities) it is subordinate to.

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 line 'Use when the high-level tools do not cover the query' gives a conditional trigger for selection, which is more than nothing. But it does not name which high-level tools, and there is no explicit statement of when this tool is the wrong choice (e.g. prefer query_sbd_toe_entities for simple lookups).

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