Skip to main content
Glama
0aaryan

hypr-tools

by 0aaryan

get_macro

Read-only

Retrieve full details of a specific macro by name, so you can inspect its steps and configuration before running or modifying it on your Hyprland desktop.

Instructions

Get full details of a specific macro

Input Schema

NameRequiredDescriptionDefault
nameYesMacro name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds only that it returns "full details," saying nothing about error behavior for missing macros or the shape of the return. Adequate but thin given the lower bar set by annotations.

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, front-loaded sentence with no filler. It is efficient, though the terseness leaves little room for routing context.

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?

For a simple read-only, single-parameter lookup with full schema coverage and annotations covering safety, the description is sufficient to call correctly. Minor gap: no statement of behavior when the named macro does not exist.

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 100% schema description coverage, the schema already documents the name field. The description's phrase "specific macro" confirms the name identifies the target but adds no format or lookup semantics beyond the schema.

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?

The description states a specific verb and resource ("Get full details of a specific macro"), which is unambiguous about the operation. It does not differentiate itself from siblings like list_macros or run_macro, so it falls short of 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?

There is no explicit guidance on when to use this over list_macros (for discovery) or run_macro (for execution). The single-macro-by-name usage is only weakly implied by "specific macro" and the required name parameter.

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

Deploy Server

Other Tools