Skip to main content
Glama

List processes

process_list
Read-only

Use this when the user wants to see which programs run on an approved computer: process ID, parent, name, memory and start time; processes Local Commander will not stop are marked. Needs a Full Access workspace. Read-only. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.

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": {
      "sessionId": "<sessionId>",
      "operationId": "<operationId>"
    },
    "name": "process_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum processes returned, 1-1000 (default 200)
filterNoOnly processes whose name contains this text, any letter case (optional)
sessionIdYesexecutionSessionId returned by execution_session_open
deadlineAtNoOptional UTC admission deadline at most 60 seconds ahead (queue start timeout, NOT process execution lifetime)
operationIdYesA new random UUID v4 for this call; reuse it only to retry this same call
idempotencyKeyNoOptional retry key, 8-128 chars of [A-Za-z0-9._:-]; defaults to operationId
efficiencyProfileNoOptional, unverified label of the client's model, recorded as display metadata in the device owner's local activity statistics. Omit when unknown. Never send credentials or conversation content.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered; the description adds what the annotations cannot: metering (one execution per call), an expected ~2 second inline result, the polling fallback via operation_status and operation_output, and an explicit instruction not to resend. The Full Access workspace requirement and the admission-deadline semantics are also disclosed beyond the structured fields.

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-loads the when-to-use clause, then packs prerequisites, cost, timing, and fallback into a tight block with no filler. It is dense—multiple semicolon-joined clauses—but every clause carries operational information an agent needs.

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?

Covers the full call lifecycle for a non-idempotent, metered, potentially asynchronous operation: authorization tier, required IDs, expected latency, the inline-vs-async split, which tools to poll, and the warning not to resend. With no output schema present, it still describes the payload shape adequately via the enumerated fields.

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

Parameters3/5

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

Schema coverage is 100%, so all seven parameters, including limit, filter, deadlineAt and the efficiencyProfile nesting, are already documented. The description reinforces the sessionId/operationId contract ('new operationId') and the retry rule, but adds little that the schema does not already state, so the baseline of 3 applies.

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 ('see which programs run on an approved computer') and enumerates the returned fields (process ID, parent, name, memory, start time). It also implicitly separates itself from process_kill by noting that processes Local Commander will not stop are marked, so an agent can distinguish read from terminate without opening the schema.

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

Usage Guidelines4/5

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

Gives a clear triggering condition ('when the user wants to see which programs run') plus the prerequisite of a Full Access workspace and a sessionId from execution_session_open. It does not explicitly name process_kill as the alternative for termination, but the marking of un-stoppable processes provides usable contrast.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.