Skip to main content
Glama

Get Configurations

get_configurations
Read-only

Retrieve and inspect Apache Ambari configuration types, keys, and values; filter by type, service, or key, and summarize or limit output for cluster administration.

Instructions

Unified configuration introspection tool (supersedes list_configurations & dump_all_configurations).

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_configurations"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNomax number of types to output in bulk mode (0 = unlimited)
filterNosubstring applied to type names OR property keys
max_charsNotruncate final output if exceeds
summarizeNobulk mode summary lines only (counts + sample keys, forces include_values False)
config_typeNofocus on one type's latest tag (other bulk params ignored except filter on keys)
include_valuesNoinclude key=value pairs (bulk/full mode only)
service_filterNosubstring to restrict bulk types (ignored if config_type provided)

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.9.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered, and the description adds no behavioral context of its own. It does not disclose that bulk and single-type modes behave differently, that output can be truncated, or that summarize overrides include_values. For a read tool with a 30k-character truncation parameter, that is a meaningful omission.

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

Conciseness3/5

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

A single front-loaded sentence with zero wasted words, but the brevity comes at the cost of under-specification rather than efficiency. It is tight yet does not earn its place in full because it conveys so little about how the tool actually operates.

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 not be explained, and the schema fully documents all seven parameters. The remaining gap is modest: an agent can call it correctly from the schema alone, though it must read the parameter descriptions to discover the bulk-versus-single-type mode split.

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% and the parameter descriptions themselves explain limit, filter, max_chars, summarize, config_type, include_values, and service_filter well. The description adds no meaning beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Unified configuration introspection tool" identifies the resource (configurations) but uses the vague verb "introspection" – it never says whether it lists configuration types, returns key/value pairs, or focuses on one type's latest tag. The parenthetical naming of the two tools it supersedes does help an agent recognize this as the merged replacement for listing/dumping configs, which keeps it above tautology.

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?

No when-to-use guidance is given beyond the migration note that it supersedes list_configurations and dump_all_configurations. Nothing tells the agent when to use bulk mode versus setting config_type, or when summarize is preferable to full output – the two distinct operating modes the schema implies are never surfaced.

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