Skip to main content
Glama

Get Controller Services

get_controller_services

List controller services for a NiFi process group, including inherited services, or retrieve controller-level global services when no group ID is provided.

Instructions

List controller services. With a group id: services in scope of that group (including inherited ones); without: controller-level (global) services.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_controller_services"
  }
}

Input Schema

NameRequiredDescriptionDefault
process_group_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose one important behavioral trait — that group-scoped listing includes inherited services — which an agent could not infer otherwise. However, it says nothing about read-only nature, ordering, pagination, or volume of results, so gaps remain for a no-annotation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences, front-loaded with the purpose and then the branching behavior. The colon-based with/without structure is easy to parse and no sentence is wasted.

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?

An output schema exists, so return values need no explanation, and with only one optional parameter the surface area is small. The description covers the parameter's two modes and the inheritance behavior; the main omission is any note on result size or ordering, which is minor here.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single process_group_id parameter, so the description must compensate, and it does: it states precisely what supplying the id yields (in-scope plus inherited services) versus omitting it (global services). It does not specify the expected id format, which is the only remaining gap.

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 opens with a specific verb+resource ("List controller services") and immediately defines the two scoping modes, so an agent knows exactly what set of objects it returns. It does not name or distinguish itself from close siblings such as find_controller_services_by_type or get_controller_service_details, which keeps it short of a 5.

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?

It clearly explains the two invocation modes: pass a group id to get in-scope services, omit it for global services. That is genuine when-to-use guidance at the parameter level, but there is no guidance on when this tool should be chosen over the sibling tools that also deal with controller services.

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