Skip to main content
Glama

process_info

Retrieve detailed information about a process by PID or session to inspect its state and support live reverse engineering.

Instructions

Detailed information about one process.

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

Input Schema

NameRequiredDescriptionDefault
pidNo
sessionNodefault

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden and discloses almost nothing: no mention of permissions, side effects, cost, or what happens when pid is omitted. It does not even clarify that a null/omitted pid presumably targets the current process, which is the most behaviorally significant detail here.

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?

It is a single short sentence with no filler, but the brevity comes at the cost of specification rather than from disciplined editing. There is no waste to trim, yet the sentence is not front-loaded with any actionable detail.

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, but for a two-parameter tool with zero schema coverage and zero annotations the definition leaves critical gaps: default behavior of the optional pid and the meaning of session. It is not sufficient for confident 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% for two parameters, and the description compensates only weakly via the phrase 'one process', hinting at pid without explaining its nullable default. The 'session' parameter is never mentioned at all, so the agent gets no meaning beyond bare field names.

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?

The description names a specific resource ('one process') and the operation ('detailed information'), which is enough to tell it apart from address_info, function_info, or server_info. It stops short of explaining what 'detailed' covers or which process is targeted, but the intent is unambiguous.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus any alternative, and no prerequisites or preconditions are stated. The agent must infer usage entirely from the name.

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