Skip to main content
Glama

handles

Lists open operating-system resources held by a process, with case-insensitive filtering by resource type or name.

Instructions

Handles open in a process; filter matches the type or name, case-insensitively.

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

Input Schema

NameRequiredDescriptionDefault
pidNo
filterNo
sessionNodefault

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden, but it only reveals that filtering matches type or name case-insensitively. It says nothing about whether the operation is read-only, what permissions are required, how the session parameter behaves, or what results look like beyond the 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is short and front-loads the resource and filter behavior, so there is little waste. However, the sentence is grammatically awkward as a fragment and does not read as a clear tool description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described, and the tool is relatively simple. Still, with no annotations and no schema descriptions, the description leaves the process-selection parameter and session behavior unexplained, which is a significant gap for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for three undocumented parameters. It explains the filter parameter meaningfully but leaves pid and session entirely unelaborated, so two of three parameters remain opaque beyond their names and defaults.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Handles open in a process" is a noun phrase that largely restates the tool name rather than stating a specific action such as list, enumerate, or inspect. An agent can guess the resource is process handles, but there is no explicit verb to distinguish what this tool actually does.

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

Usage Guidelines1/5

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

The description gives no guidance on when to use this tool, when not to use it, or which sibling tools cover related tasks. The filter semantics are parameter detail, not usage guidance, leaving the agent with no routing criteria.

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