Skip to main content
Glama
secemp9
by secemp9

kitty_ls

Retrieve the full hierarchy of kitty OS windows, tabs, and windows as a JSON tree. Filter by window or tab match to get specific IDs, titles, PIDs, and layouts.

Instructions

List all kitty OS windows, tabs, and windows as a JSON tree. Returns the full hierarchy: OS-window[] -> tab[] -> window[], including window IDs, titles, PIDs, cwds, foreground processes, and layout info. Use --match / --match-tab to filter. Results are cached for 3 seconds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
selfNoIf true, only return information about the window this command runs in.
matchNoWindow match expression to filter windows (e.g. "title:my_term", "id:42"). Uses kitty match syntax.
match_tabNoTab match expression to filter tabs (e.g. "index:0", "title:work").
all_env_varsNoIf true, include all environment variables for each window, not just those that differ from the kitty process.
Behavior4/5

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

With no annotations, description discloses caching behavior (3 seconds) and return format (JSON tree with specific fields). Does not cover permissions or rate limits, but for a read-only listing, this is sufficient.

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?

Two concise sentences; first sentence states purpose, second adds filtering and caching. Front-loaded with no wasted words.

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?

Explains return hierarchy and fields, includes caching detail. No output schema, so description compensates. Could mention snapshot nature but still fairly complete for a listing tool.

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 covers all parameters (100% coverage). Description adds context by noting filtering flags and cache, but does not provide significant additional meaning beyond schema 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?

Clearly states the tool lists kitty OS windows, tabs, and windows as a JSON tree, specifying the resource hierarchy and action. Distinguishes from sibling tools as the primary listing command.

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?

Mentions filtering via --match and --match-tab but does not explicitly state when to use this tool over alternatives or provide exclusions. Lacks guidance on context-specific use cases.

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/secemp9/kitty-mcp-server'

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