Skip to main content
Glama

get_config

Retrieve the active Context-Clean configuration, including merged global and optional project-override settings plus config file paths, to verify or debug workflow limits.

Instructions

Returns the active Context-Clean configuration (merged global + optional project override) and config file paths.

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

Input Schema

NameRequiredDescriptionDefault
cwdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/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 behavioral burden. It usefully discloses that the result is a merge of global and project-override layers and that file paths are included, but it says nothing about failure behavior (e.g., when no config exists), whether the call is side-effect free, or the shape of the response.

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?

A single compact sentence with the core capability front-loaded and no filler. It is appropriately sized for a simple getter, though the 'Context-Clean' qualifier is somewhat opaque without further context.

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

Completeness3/5

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

For a one-optional-parameter read tool with no output schema, the description covers what is returned well enough, but it leaves the parameter's role and error behavior unexplained. It is adequate without being thorough.

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

Parameters2/5

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

Schema description coverage is 0% for the single optional 'cwd' parameter, so the description must compensate. At best, 'optional project override' hints that cwd drives project-level discovery, but that link is never made explicit, leaving the parameter's meaning undocumented in both places.

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 gives a specific verb ('Returns') and a specific resource ('the active Context-Clean configuration ... and config file paths'), plus it discloses the merge semantics (global + optional project override). It does not name a sibling, but 'Returns' clearly contrasts with the mutating update_config that appears in the sibling list.

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 explicit statement of when to call this versus alternatives such as get_context_status or update_config; the read-only intent is only implied by the verb 'Returns'. An agent must infer that this is the inspection counterpart to update_config.

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