Skip to main content
Glama

manage_env

List, set, or unset global podcli settings stored in .env, including HuggingFace token and manual Claude/Codex CLI paths.

Instructions

List, set, or unset global podcli settings stored in .env.

Keys: • HF_TOKEN: HuggingFace token for speaker detection • PODCLI_CLAUDE_PATH: manual path to Claude Code CLI when auto-discovery fails • PODCLI_CODEX_PATH: manual path to Codex CLI when auto-discovery fails

Actions: • list: show all settings, configured values, and AI CLI detection (default) • set: set a key (path must exist for PODCLI_*_PATH keys) • unset: remove a key (falls back to auto-discovery)

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

Input Schema

NameRequiredDescriptionDefault
keyNoHF_TOKEN | PODCLI_CLAUDE_PATH | PODCLI_CODEX_PATH
valueNoValue to set (required for set)
actionNolist

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.7.2
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Addedv2.1.2

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 useful work by disclosing the default action, the validation rule for path keys, and the auto-discovery fallback on unset. It stops short of saying whether set overwrites an existing value, whether changes persist across sessions, whether a restart is needed, or what list actually returns in structure — all material for a mutating config tool.

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?

Front-loaded with the one-sentence purpose, then two tight scannable blocks (Keys, Actions) with the default marked inline. Nearly every line earns its place. Minor redundancy: the key list partly restates the `key` property description already in the schema.

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 three-parameter tool with no annotations and no output schema, the definition covers the action semantics and key vocabulary well enough to invoke it. The gaps are the mutation side effects (overwrite behavior, persistence, error conditions when a path does not exist) and any hint about what list produces, which the description must carry since no output schema exists.

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 coverage is 67%, and the description goes meaningfully beyond the schema by explaining what each allowed key is for (HF_TOKEN for speaker detection, the two PATH keys for when auto-discovery fails) and by tying `value` to the set action. However, it never states that `key` and `value` are ignored for list, nor what happens if value is omitted on set, leaving cross-parameter interactions undocumented.

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?

Opens with a specific verb set and resource: 'List, set, or unset global podcli settings stored in .env.' The scope qualifier 'stored in .env' and the enumerated key list make the domain unmistakable. It does not, however, differentiate itself from plausible siblings such as manage_config or update_settings, leaving the agent to infer which settings tool owns which domain.

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 Actions block gives explicit per-operation guidance: list is the default, set requires a value, unset falls back to auto-discovery, and PODCLI_*_PATH keys must point at an existing path. That is strong in-tool guidance. What is missing is any statement about when to choose this tool over a sibling settings tool, so the routing decision beyond .env scope is left implicit.

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