Skip to main content
Glama

Get a CSF 2.0 function, category, or subcategory

controls_get_csf_element
Read-onlyIdempotent

Retrieve a NIST CSF 2.0 function, category, or subcategory to inspect its children, implementation examples, and SP 800-53 references; legacy CSF 1.1 IDs are flagged.

Instructions

Return one element of the NIST Cybersecurity Framework (CSF) 2.0 core: a function, a category, or a subcategory.

A function lists its categories and a category lists its subcategories, so three calls walk from GV to GV.OC to GV.OC-01. A subcategory includes its implementation examples and the SP 800-53 families NIST publishes as informative references. Those references are family level and target SP 800-53 release 5.1.1, exactly as CPRT publishes them; the result labels them that way. Retired CSF 1.1 identifiers are returned with status "legacy" and a note saying where their content went.

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": {
      "csf_id": "<csf_id>"
    },
    "name": "controls_get_csf_element"
  }
}

Input Schema

NameRequiredDescriptionDefault
csf_idYesA CSF 2.0 function (GV), category (PR.AA), or subcategory (PR.AA-01). Retired CSF 1.1 identifiers such as DE.DP-5 are accepted and reported as legacy.
include_legacyNoAlso list retired CSF 1.1 identifiers among the children of a function or category. Off by default.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds genuine value beyond that: functions list categories, categories list subcategories, subcategories carry implementation examples and family-level SP 800-53 5.1.1 references, and legacy IDs come back with status 'legacy' plus a redirect note. It does not discuss rate limits, auth, or error behavior for unknown IDs.

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 the core purpose, then layered with traversal, reference provenance, and legacy handling in a logical order. Slightly verbose in the clause 'exactly as CPRT publishes them; the result labels them that way', which restates provenance twice.

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

Completeness5/5

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

Output schema exists, so return values need no full explanation, yet the description still characterizes the payload (children lists, implementation examples, reference families, legacy status). For a two-parameter read-only lookup this is sufficient to call correctly.

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 both csf_id and include_legacy are already documented, including accepted formats and the legacy acceptance rule; baseline 3 applies. The description reinforces the hierarchy semantics of csf_id but adds little syntactic meaning the schema does not already provide.

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: 'Return one element of the NIST CSF 2.0 core' and enumerates the three element kinds (function, category, subcategory). The GV -> GV.OC -> GV.OC-01 walk makes the granularity model unambiguous, so an agent can distinguish this from siblings like controls_get_control or controls_get_baseline.

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?

Gives clear operating context: one call per element, three calls to traverse the hierarchy, and how retired CSF 1.1 identifiers are handled. It never explicitly excludes a case or names a sibling alternative (e.g., use controls_search to find an ID), so it stops short of full when/when-not guidance.

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