Skip to main content
Glama

goodnotes_align

Aligns a page item to a reference item along the x or y axis, using screenshot coordinates to centre them and keep notebook layouts even.

Instructions

Centre the item at (x,y) on the reference item at (ref_x,ref_y) along an axis ("y": same vertical centre). Screen positions are CSS pixels in the latest screenshot (y < 50 is the toolbar).

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": {
      "x": "<x>",
      "y": "<y>",
      "ref_x": "<ref_x>",
      "ref_y": "<ref_y>"
    },
    "name": "goodnotes_align"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYesscreen x (CSS px)
yYesscreen y (CSS px)
axisNo
ref_xYesscreen x (CSS px)
ref_yYesscreen y (CSS px)
expected_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does add real behavioral context: positions are CSS pixels in the latest screenshot and y < 50 falls in the toolbar. It omits how the item at (x,y) is identified (hit-test?), what happens if no item or no reference is found there, and whether the move is undoable.

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?

Compact and front-loaded: the operation comes first, then the axis clarification, then the coordinate-frame caveat. No filler sentences, though the sentence is densely parenthetical and would read better as two shorter statements.

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

Completeness3/5

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

For a six-parameter mutation tool with no annotations and no output schema, the description covers the spatial model well but leaves expected_id, failure modes, and mutation semantics (undoable? atomic?) undocumented. An agent could call it, but not confidently predict error behavior.

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 67%, so the baseline is around 3. The description adds genuine meaning for the coordinate frame and interprets the axis enum ('y' = same vertical centre), but leaves the enum's 'x' value and the expected_id parameter completely unexplained in both schema and description.

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 ('Centre') plus the resource and the anchor: the item at (x,y) aligned against the reference item at (ref_x,ref_y) along an axis. It is clearly a distinct operation from siblings like goodnotes_move_item or goodnotes_resize_item, though it never names an alternative to differentiate itself 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?

Usage is only implied — an agent can infer this is the tool for snapping one item's centre to another — but there is no statement of when to prefer it over move_item or place_in_layout, and no preconditions such as which item is 'the item'. The toolbar note (y < 50) is a useful practical constraint but is a coordinate caveat rather than selection guidance.

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