Skip to main content
Glama
nano-mcp-termux

nano-mcp-termux

Path environment adapter (read-only)

path_adapter
Read-onlyIdempotent

Reports the runtime path environment—env class, HOME/PREFIX/TMPDIR, Android storage mounts, and noexec mounts—so host paths can be translated and script execution issues diagnosed.

Instructions

Report the runtime's path environment so you can translate host paths correctly: detected env class (termux/proot/android/linux), HOME/PREFIX/TMPDIR, each Android shared-storage root with its real mount, all noexec mounts that block in-place script execution, and runtime-specific notes. Takes no arguments. Sibling boundary: this answers the environment question (env class, HOME/PREFIX/TMPDIR, mount roots); resolve_path answers the per-path question (expansion, mount, alternatives for one path). Use path_adapter when the environment itself is unknown, resolve_path to validate a single candidate path. Returns {env, home, prefix, tmpdir, python, platform, android_roots, noexec_mounts, notes}.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (read-only, idempotent, non-destructive, closed-world), and the description adds substantial context beyond them: it says the tool takes no arguments and enumerates the reported data, including env class, HOME/PREFIX/TMPDIR, Android roots, noexec mounts, and notes. It also lists the return fields, which is valuable given there is no output schema.

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-loads the core action, then adds the no-argument note, sibling boundary, and return shape without filler. The density is high but every sentence serves selection or invocation.

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?

Given the lack of an output schema, the description helpfully lists the returned keys and explains what environment information is reported. It is complete for a zero-parameter read-only diagnostic tool, though it could mention whether the reported environment is cached or live.

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 has zero parameters, so the baseline is 4; the description confirms "Takes no arguments," aligning with the empty schema. There are no parameter semantics beyond that, and none are needed.

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?

States a specific verb and resource: "Report the runtime's path environment," and immediately explains the practical purpose: translating host paths correctly. It also explicitly distinguishes itself from `resolve_path`, so an agent can identify the tool without opening sibling schemas.

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

Usage Guidelines5/5

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

Gives an explicit routing rule: use `path_adapter` when the environment itself is unknown, and use `resolve_path` to validate a single candidate path. This names the alternative and the condition that selects it.

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

Deploy Server

Other Tools