Skip to main content
Glama

next_patch

Move to the next or previous patch in the current category, enabling AI assistants to browse a Surge XT patch library by category.

Instructions

Step to the next (or previous) patch in the current category.

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

Input Schema

NameRequiredDescriptionDefault
previousNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does not say whether stepping also loads/auditions the patch (a state change the agent would care about), whether it wraps at the category boundary, or what happens if no category is active.

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?

A single short sentence with the direction option folded in via parenthetical; no filler. It is arguably over-terse for a state-changing navigation tool, but nothing is wasted.

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 explained. However, for a tool that moves the 'current patch' pointer with zero annotation coverage, the missing detail on whether the patch is actually applied and on boundary behavior leaves an agent guessing.

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?

With one parameter at 0% schema description coverage, the parenthetical '(or previous)' is the only clue that the boolean flag reverses direction. That is real added meaning, but the default and the flag's exact effect on cursor position remain undocumented.

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 and resource: 'Step to the next (or previous) patch', scoped to 'the current category'. That distinguishes it from load_patch and random_patch by implication, though no sibling is named explicitly.

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 phrase 'in the current category' implies a prerequisite (a category must already be selected) and the direction flag implies sequential browsing, but there is no explicit when-to-use versus load_patch or list_patches, and no exclusion conditions.

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