Skip to main content
Glama

get_env_usage

Read-onlyIdempotent

Cross-reference an environment variable across code, .env files, and workflow configs to see where it's defined, read, or written.

Instructions

Cross-reference an env var across code, .env files, and workflow configs. Shows where it's defined, read, written.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectNoProject name/path (default: active).
var_nameYesEnvironment variable name (e.g. HELLOASSO_CLIENT_ID).
max_resultsNoMax results (0 = all, default 0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world behavior, so the safety profile is fully covered. The description adds value by disclosing the search scope (three source types) and what the result reveals (defined/read/written locations), which goes beyond the annotations.

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 tight sentences, zero filler. The scope is front-loaded in the first sentence and the return content follows immediately.

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 read-only query tool with full schema coverage and no output schema, the definition is nearly complete: it explains the scope and the nature of the output. It could note default project scoping or search limitations, but the schema already covers the project default.

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%, so all three parameters (project, var_name, max_results) are already documented in the schema. The description adds no syntax or format detail beyond that, so the baseline 3 applies.

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 (cross-reference) and resource (env var), and scopes the search across three concrete domains: code, .env files, and workflow configs. This distinguishes it from a generic config analyzer, but it never names or contrasts with the overlapping sibling 'analyze_config', so it stops short of full differentiation.

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?

The description implies the use case (locate where an env var is defined/read/written), so an agent can infer intent, but there is no explicit when-to-use guidance or exclusion relative to siblings like analyze_config or search_codebase.

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