Skip to main content
Glama

describe_config

Reports the resolved configuration without changing anything, showing each tool's context window and whether it comes from CLI, environment, or defaults. Lists extra header names but never values.

Instructions

Report the resolved configuration without changing anything.

Shows the context window every tool will use and where it came from: cli (--max-context), env (*_MAX_CONTEXT_TOKENS), or default (32768). Extra header names are listed, never their values.

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": "describe_config"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden and does meaningful work: it declares the operation non-mutating, lists the three possible configuration sources with the concrete default of 32768, and discloses a privacy-relevant behavior ('Extra header names are listed, never their values'). It stops short of noting caching, staleness, or permission requirements, which keeps it out of the top band.

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?

Front-loaded with the action and the no-side-effects guarantee, then a single compact sentence enumerating sources and the header-value privacy rule. Every clause carries information; nothing is padding.

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?

An output schema exists and the tool is parameterless, so the description need not explain return values. It still covers the key expectations an agent needs — read-only behavior, source attribution, and that header values are withheld — leaving no material gap for a config-inspection tool.

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?

The tool takes zero parameters, so there is nothing the description needs to disambiguate; the baseline for a parameterless tool applies. The description adds no misleading parameter talk, and the schema is empty as expected.

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?

States a specific verb and resource ('Report the resolved configuration') and immediately scopes behavior with 'without changing anything.' It further names exactly what is shown (the context window every tool will use and its provenance). It does not explicitly contrast itself with siblings like estimate_context or trim_context, but the purpose is distinctive enough to be unambiguous.

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 implied rather than stated: the read-only framing suggests 'call this to inspect, not to modify,' and the enumeration of cli/env/default sources hints at debugging configuration provenance. There is no explicit when-to-use, when-not-to-use, or named alternative against estimate_context/trim_context.

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