Skip to main content
Glama

get_config_summary

Read a config file and list all keys with secret values masked, supporting Spring Boot YAML, properties, and .env files.

Instructions

Read a config file and return all keys with secret values masked. Supports Spring Boot application.yml, application.properties, and .env files.

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": {
      "path": "<path>"
    },
    "name": "get_config_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath to the config file. Supported formats: .yml / .yaml (Spring Boot), .properties (Spring Boot), .env (dotenv)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/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 genuinely important behavioral trait beyond the schema: secret values are masked in the output, making the result safe to surface. It says nothing about error behavior for unsupported or missing files, masking format, or whether nested YAML keys are flattened, which matters because this is framed as a file reader.

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 short sentences with no filler. The core action and the masking guarantee are front-loaded, and the format support follows as supporting detail.

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 one-parameter read tool with no output schema, the description covers the essentials, including a sketch of the return value ('all keys with secret values masked'). Remaining gaps are minor: no note on unsupported-format failures or how deeply nested keys are represented.

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?

There is a single parameter and schema description coverage is 100%, so the schema already documents 'path' and exactly which extensions are accepted. The description's format list is essentially a restatement of the schema's own description, adding no new semantics such as relative-vs-absolute path handling.

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 a specific verb and resource ('Read a config file') and adds real scope detail: it returns all keys with secret values masked, and it enumerates the supported file formats (Spring Boot yml/properties, .env). That is enough to distinguish it from generic readers, but it never contrasts itself with a nearby sibling such as get_env_summary, which an agent could plausibly confuse it with.

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?

Usage is only implied: the agent can infer it should call this when it needs to inspect a config file's contents safely. There is no explicit statement of when to prefer this over get_env_summary or get_project_structure, and no mention of what happens with an unsupported extension.

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