Skip to main content
Glama
mcp-toolkit

mcp-toolkit

by isumitjha

check_tools

Read-only

Reports which common dev tools (git, Python, Node, Docker) resolve on PATH, their versions, shadowed copies, and PATH problems to diagnose environment mismatches.

Instructions

Report which git, python3, pip3, node, npm, uv and docker this machine would run.

For each tool: the path its name resolves to on PATH, the first line of its --version output, and other copies further down PATH that the first one hides. Also lists PATH problems: duplicate, missing, empty or relative entries. This is the PATH of the server process, which the MCP client set when it started the server; a login shell may see a different one. Runs only <tool> --version, for tools in absolute PATH directories.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
toolsYes
path_problemsYesDuplicate, missing, empty or relative entries

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=true, openWorldHint=false), yet the description adds real behavioral detail beyond them: it discloses that it executes `<tool> --version` as a subprocess, that it only inspects tools in absolute PATH directories, and that it lists hidden duplicate copies and malformed PATH entries. The only gap is that it doesn't quantify cost or note that invoking `<tool> --version` may hang or have side effects for unusual binaries.

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 purpose sentence, followed by a paragraph enumerating exactly what each entry contains and a caveat about the PATH source. Every sentence carries information, though there are stray blank lines and slight redundancy between the opening tool list and the 'for tools in absolute PATH directories' qualifier.

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?

An output schema exists, so the description's enumeration of returned fields (resolved path, first version line, shadowed copies, PATH problems) is partly redundant but reinforces what to expect. Combined with the PATH-scoping caveat and the subprocess disclosure, an agent has enough to call it correctly and interpret results; minor missing piece is any note on runtime or failure behavior.

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 to disambiguate and the baseline is a 4. The description instead spends its words on clarifying the implicit input — the machine/process PATH that determines the results — which is the right use of space.

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?

Opens with a specific verb and resource: 'Report which git, python3, pip3, node, npm, uv and docker this machine would run.' The scope is enumerated explicitly and expanded to include PATH health checks, so an agent can distinguish this diagnostic tool from sibling utilities like compare_env_keys or find_port_listeners without opening a schema.

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 a diagnostic use case and adds a valuable scoping caveat — the PATH is the server process's, which the MCP client set at startup, and a login shell may differ. However, it never states when to prefer this over sibling tools or when the result would be misleading (e.g. tool present but broken). Usage is inferable rather than explicit.

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