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

Get SbD-ToE Guide by Role

get_guide_by_role
Read-only

Fetch risk-level-specific practices, assignments, and user stories, optionally filtered by role or lifecycle phase, including required artifacts and role checklists for grounded security guidance.

Instructions

Runtime-grounded practices, assignments and user stories for a risk level, optionally filtered by role and/or lifecycle phase. Each assignment carries its required ARTIFACTS (the requirement→evidence link, served from the bundle). Roles resolve via canonical aliases (e.g. 'appsec' → 'appsec-engineer', 'sre' → 'devops-sre'). Results grouped by role and phase. All data from the published bundle — 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": {
      "risk_level": "<risk_level>"
    },
    "name": "get_guide_by_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNoRole to filter by (supports canonical IDs and aliases, e.g. 'developer', 'security-champion', 'devops', 'appsec').
phaseNoLifecycle phase to filter by (canonical: e.g. 'design', 'develop', 'test', 'operate'; alias aceite: implement→develop). Fase desconhecida devolve phase_warning com knownPhases.
risk_levelYesApplication risk level.
include_detailNoWhen true and a role is given, surfaces each user story's full Definition-of-Done detail (checklist_items, BDD, proportionality, sdlc_integration) and returns role_checklist — the aggregated DoD checklist of the role's user stories in one response. Off by default (heavier payload).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description adds genuinely useful behavior: role names are resolved through canonical aliases with concrete examples, results are grouped by role and phase, each assignment carries its ARTIFACTS requirement→evidence link, and all content is served from the published bundle with nothing invented. It does not cover what happens on an unresolved role or an empty result set, which is the remaining gap.

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 returned content is front-loaded in the first sentence and each following sentence adds a distinct fact (ARTIFACTS linkage, alias resolution, grouping, provenance). It is efficient overall, though the closing 'nothing invented' reassurance is borderline promotional rather than operational.

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, the description does the work of sketching the return shape — practices, assignments, user stories, ARTIFACTS, grouped by role and phase — which is exactly what an agent needs. Minor omissions are the handling of unresolved roles and whether a missing role/phase yields empty groups or an unfiltered superset.

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%, including the role alias examples and the include_detail payload trade-off, so the schema already carries the parameter meaning. The description reinforces alias resolution and adds the notion that assignments carry ARTIFACTS, but contributes no new syntax, defaults, or format details beyond the schema — 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 description names the specific resource returned — runtime-grounded practices, assignments and user stories for a given risk level — plus the optional role/phase filters. It is clear what the tool produces, but it offers no explicit differentiation from near-neighbors such as get_sbd_toe_chapter_capability or select_sbd_toe_requirements, and the action verb is only implicit in the noun phrase.

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

Usage Guidelines2/5

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

There is no statement of when to reach for this tool versus the many sibling retrieval tools, and no exclusions (e.g. 'use this instead of the chapter tools when you need role-scoped assignments'). The only guidance is a filter description, which is usage-adjacent but not a when-to-use rule.

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