Skip to main content
Glama

get_effective_config

Diagnose pipeline configuration issues by viewing a read-only snapshot of resolved roles, environment variables, and config-source provenance, with optional plan overrides.

Instructions

Read-only diagnostic snapshot of the pipeline's effective configuration: every role in config_provenance.PIPELINE_ROLES with its resolved (provider, model) and provenance, every cataloged env var's resolved value and provenance, any unrecognized/ignored env vars present, and which config-source files were actually consulted (and whether each exists). Pure read - makes no changes and writes nothing.

"restart_required" on a role/env entry means that entry's winning value came from an env var or the launchd plist/mcp_server_env layer, so a change there only takes effect after the scheduler/MCP server is restarted. By contrast, a plan's role_config and model_registry.json are both read fresh on every call, so edits to either are live immediately with no restart needed.

A role entry carrying a non-None "error" key is misconfigured (e.g. no model configured for it anywhere, or its provider/model pairing isn't declared in model_registry.json) - never raises for this; the bad role just reports its error inline while the rest of the roles resolve normally.

Pass plan_name to additionally layer in that plan's role_config overrides (same effect as get_role_config's plan_name); a plan_name whose manifest doesn't exist degrades to "no plan overrides" rather than raising.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
plan_nameNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden and does so thoroughly. It explicitly states pure read semantics, no writes, how restart_required is determined, which layers are live vs require restart, and how misconfigured roles are reported inline without raising. It also discloses degradation behavior for nonexistent plan manifests.

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?

The description is longer than average, but each sentence adds a distinct behavioral fact: read-only guarantee, restart semantics, error handling, and plan_name semantics. It is front-loaded with the core purpose and organized into logical paragraphs, so the density is justified and easy to parse.

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?

Given the tool's moderate complexity, the presence of an output schema, and the complete absence of annotations, the description provides everything an agent needs to invoke it correctly: what it returns, how it errors, when restarts are needed, and how the optional parameter behaves. No critical behavioral gap remains.

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

Parameters5/5

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

Schema coverage is 0%, so all meaning must come from the description. The description explains plan_name's effect in detail: it layers in the plan's role_config overrides, matches get_role_config's plan_name behavior, and degrades gracefully when the manifest doesn't exist. This goes far beyond the bare schema definition.

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

Purpose5/5

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

The description opens with a specific verb and resource: 'Read-only diagnostic snapshot of the pipeline's effective configuration'. It enumerates exactly what the snapshot contains (roles, env vars, ignored vars, config files), and it distinguishes itself from the sibling get_role_config by describing how plan_name behaves relative to it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly implies when to use this tool: when you need the effective resolved configuration and provenance across roles, env vars, and config files. It also explains the optional plan_name behavior and compares it to get_role_config. It does not explicitly say 'do not use this when...', but the diagnostic framing and sibling contrast provide sufficient usage context.

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