Skip to main content
Glama

Check Installed

check_installed
Read-onlyIdempotent

Determine whether a cybersecurity tool is installed locally or on a remote host via SSH, using multiple detection methods to confirm availability before execution.

Instructions

Check if a specific cybersecurity tool is installed on the system.

Uses six detection strategies: .versions tracking, PATH lookup, binary-name fallback, git clone directory, run_script venv, and docker image.

When host is provided, checks installation on the remote host via SSH using 'which '.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tool_name": "<tool_name>"
    },
    "name": "check_installed"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostNoOptional remote host name (as configured via manage_remote_hosts).
tool_nameYesName of the tool to check (as listed in tools_config.json).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds genuinely new behavioral context: the six ordered detection strategies (versions file, PATH, binary fallback, git clone dir, venv, docker image) and the fact that remote checks use 'which <binary>' over SSH, which tells the agent what a negative result can and cannot mean.

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 core action in the first sentence, followed by two compact supporting details. The six-strategy list is long but each item is a distinct detection path, so it earns its space; only slight trimming of the enumeration would improve it.

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?

The tool has only two parameters, full schema descriptions, an output schema (so return values need no explanation), and complete annotations; the description covers the one non-obvious dimension, namely how detection works locally versus remotely. An agent can call this correctly without further information.

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?

Schema coverage is 100%, so baseline is 3, but the description goes beyond the schema by explaining that host triggers an SSH 'which <binary>' probe rather than a local multi-strategy scan, and that tool_name must correspond to a tools_config.json entry. That materially changes how an agent should interpret results per parameter value.

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 — check whether a named cybersecurity tool is installed — and the enumeration of six detection strategies makes clear this is a real presence check rather than a metadata lookup, separating it from get_tool_info or list_tools.

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 host behavior gives one conditional ('when host is provided... via SSH'), which is useful context, but there is no explicit guidance on when to use this versus get_tool_info, list_tools, or run_tool, and no statement of prerequisites or failure conditions. Usage is only implied by the tool's name and purpose.

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