Skip to main content
Glama
omarchy-desktop

omarchy-desktop

by martoast

Get accumulated knowledge about a site

get_site_map

Retrieve saved navigation links, form fields, search/login URL patterns, and notes for a domain before exploring a visited site, reducing repeated page reads. Defaults to the current domain.

Instructions

Return everything learned about a domain from past visits (this session or previous ones): known nav links, known form fields (search box, login, etc.), and any manually-saved search URL pattern / login URL / notes. Call this before exploring a site you've likely visited before — it can save a full read_page round-trip. Defaults to the current page's domain.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_site_map"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainNoDefaults to the currently focused window's page domain.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/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 load and does well: it discloses the data sources (this session or previous ones), the kinds of state returned, the manually-saved artifacts, and the default domain behavior. It does not say what comes back when nothing is known (empty result vs. error) or whether the returned map is cached/stale, which is the main remaining behavioral gap.

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 sentences, zero filler, and front-loaded: what is returned comes first, when to call it second, default parameter behavior last. Parenthetical examples ('search box, login, etc.') add signal without bloat.

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 one-optional-parameter read tool with no output schema, the description is nearly complete because it enumerates the return payload, which is what the missing output schema would otherwise cover. Minor gaps: unvisited-domain behavior and any relationship to the sibling list_known_sites are not addressed.

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 100% and the single parameter's schema text already states the 'defaults to the currently focused window's page domain' behavior, so the description largely restates it. Baseline 3 applies since the schema does the heavy lifting, with no added insight such as accepted domain formats or whether subdomains roll up.

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 opens with a specific verb and resource ('Return everything learned about a domain') and then enumerates the contents (nav links, form fields, saved search/login URLs, notes), so an agent knows exactly what it gets back. It also implicitly distinguishes itself from read_page by framing itself as accumulated knowledge rather than live page content.

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?

It gives a clear trigger ('Call this before exploring a site you've likely visited before') and names the alternative it substitutes for by citing the saved 'read_page round-trip'. The 'likely visited before' qualifier implies a when-not for brand-new sites, though that exclusion is never stated outright.

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