Skip to main content
Glama

save_zone_set

Create or replace named drag-snap zones as screen fractions; assign to a monitor to activate immediately, set custom gap spacing, or keep existing defaults.

Instructions

Create or replace a named zone set used for drag snapping. Zones are rectangles {x,y,w,h} as fractions 0..1 of a screen's visible area, origin TOP-LEFT; each zone must stay inside the screen, but zones may overlap each other (the smallest one under the cursor wins). Pass 'screen' to also assign the set to that monitor so it becomes active immediately. Pass 'gap' to give this set its own spacing around windows in points, or null to make it follow the default gap again; omitting it keeps whatever the set had. Built-in sets already exist: Halves, Thirds, 60 / 40, Quarters, Priority.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gapNoThis set's own gap in points; null follows the default gap (get_state.zone_gap); omit to leave unchanged
nameYesZone set name, e.g. 'coding'
zonesYes
screenNoMonitor index to assign this set to (0 = primary)
Behavior5/5

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

The description thoroughly discloses behavior: creation vs replacement, zone constraints (inside screen, overlap allowed), active assignment via screen, gap semantics (own vs default), and existence of built-in sets. No annotations were provided, so the description bears full responsibility, and it meets that responsibility well.

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?

The description is concise, well-organized, and free of fluff. It progresses logically from purpose to zone definition to parameter special cases, covering all essential points without wordiness.

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?

The description is complete for its complexity: it covers purpose, parameters, behaviors, and edge cases. No output schema is present, so no return documentation is needed. It provides sufficient context for an agent to use the tool correctly.

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

Parameters5/5

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

The description adds substantial meaning beyond the schema. It explains the zone coordinate system and overlap rule, clarifies the special meaning of 'screen' (assign and activate) and 'gap' (set or follow default, and omission behavior). This is far more informative than the schema's brief descriptions.

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?

The description clearly states the tool's function: 'Create or replace a named zone set used for drag snapping.' It distinguishes from sibling tools by focusing on zone sets and provides details about zone coordinates, which is specific and unambiguous.

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?

The description explains when to use the tool implicitly by outlining its purpose (create or replace) and describes special parameter behaviors (screen, gap). It does not explicitly contrast with sibling tools like assign_zone_set, but the name and content make the use case clear enough for an agent to decide.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ostapondo/Plonk'

If you have feedback or need assistance with the MCP directory API, please join our Discord server