Skip to main content
Glama
resccrew

affinity-mcp

by resccrew

batch

Runs many GUI steps in one call, stopping at first failure, then takes one screenshot. Automates sequences of clicks, typing, and menu actions in Affinity.

Instructions

Run many GUI steps in one call, one screenshot at the end. Stops at the first failing step.

Each step: {"action": ..., ...}. Actions: click{x,y,button?,modifiers?}, double_click{x,y}, drag{x1,y1,x2,y2,duration?}, type{text,press_enter?}, key{key}, hotkey{keys}, scroll{amount,x?,y?}, field{x,y,value}, menu{path}, wait{seconds}. Coordinates refer to the last screenshot taken before this call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stepsYes
screenshot_afterNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses the abort-on-first-failure semantics and the critical coordinate contract ("Coordinates refer to the last screenshot taken before this call"). It still omits the return payload shape, timing behavior, and any permission/state requirements, so it falls short of complete.

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?

Purpose is front-loaded in the first sentence, then failure/coordinate semantics, then the dense action reference. The action list is long but every entry is load-bearing; nothing is padded.

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

Completeness4/5

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

With no annotations and no output schema, the description covers the essentials for a batch execution tool: step vocabulary, coordinate reference frame, and error-stop behavior. The main gap is the undocumented screenshot_after parameter and no hint of what the call returns.

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

Parameters4/5

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

Schema coverage is 0%, so the description must carry the load, and it fully enumerates the per-step action vocabulary (click, drag, type, key, hotkey, scroll, field, menu, wait) with their fields, which is exactly the structure the opaque "steps" array hides. It does not, however, explain the screenshot_after parameter beyond implying "one screenshot at the end".

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 ("Run many GUI steps in one call") and immediately differentiates from the single-action siblings (click, type_text, scroll, etc.) by framing itself as the batched alternative. An agent can tell what this does and why it exists alongside individual action tools 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 Guidelines3/5

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

Batching intent is implied by "many GUI steps in one call" and the "one screenshot at the end" note, but there is no explicit when-to-use versus calling the individual tools, nor guidance on when this is inappropriate. Usage is inferable but not stated.

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