Skip to main content
Glama

patch_list

Lists every memory write made through the current session, with optional process ID filtering, so you can audit applied patches and track changes.

Instructions

List every write made through this session.

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

Input Schema

NameRequiredDescriptionDefault
pidNo
sessionNodefault

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses session-scoped writes, which is useful, but omits read-only safety, permission requirements, pagination, ordering, and whether restored or applied patches are included. For a query tool with zero annotations this is a material gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

A single sentence with no filler, and the scoping constraint is front-loaded. It is under-specified rather than verbose, but for conciseness and structure it is appropriately efficient.

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?

Although an output schema exists to cover return values, this two-parameter tool has no annotations and zero schema coverage. The description lacks parameter semantics and sibling routing, so an agent still lacks enough information to invoke it confidently.

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%, and the description only vaguely hints at the session concept. It does not define pid, session default behavior, or how either parameter constrains results, leaving both parameters essentially undocumented beyond their 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?

States a specific verb, "List", and resource, "every write", scoped to the current session. Clear enough to understand the core operation, but it gives no hint how it differs from siblings such as static_patch_list or patch_apply, so it is not a 5.

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?

No explicit when-to-use guidance, alternatives, or exclusions are provided. The phrase "through this session" implies scope but does not tell an agent when to choose patch_list over static_patch_list or patch_apply.

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