Skip to main content
Glama
omarchy-desktop

omarchy-desktop

by martoast

Save/enrich knowledge about a site

save_site_map

Record verified per-domain facts like search URL patterns, login URLs, or notes so your agent reuses them later. Use it for details that can't be auto-detected.

Instructions

Manually record durable facts about a domain that aren't safe to auto-detect: a direct search URL pattern (e.g. 'https://example.com/search?q={query}' — use {query} as the placeholder) once you've verified it works, a login URL, or a free-text note (e.g. 'mega-menu needs click not hover', 'no bot-check observed on homepage'). Nav links and form fields are recorded automatically by read_page — you don't need to save those yourself.

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": "save_site_map"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does usefully explain the auto-detect boundary and the "durable" persistence intent, but it never says what happens when a domain already has a saved pattern or note (overwrite, merge, or duplicate), whether saving is idempotent, or whether any confirmation is returned. For a write tool with zero annotation coverage, those omissions are meaningful.

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?

The purpose is front-loaded in the first clause and the automatic-recording exclusion closes the paragraph, so the reader gets scope and boundary in one pass. The embedded parenthetical examples add real value rather than padding, though the first sentence is long enough that a reader must hold several payload types in mind at once.

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 four-parameter write tool with no annotations and no output schema, the description explains what to store and what not to store but stops short of the save lifecycle. An agent still cannot tell whether re-saving a domain replaces prior facts, how a saved map is later read back, or what a successful call returns.

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

Parameters4/5

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

Schema description coverage is only 25% and no parameter is required, so the description has to compensate, and it largely does: it specifies the {query} placeholder syntax with a worked example for search_url_pattern, characterizes login_url, and gives concrete sample notes. The `domain` parameter's default is left to the schema, which already documents it, so the gap is minor.

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 uses a specific verb and resource ("Manually record durable facts about a domain") and then enumerates the exact payload kinds: a verified search URL pattern, a login URL, or a free-text note. It also distinguishes this tool from read_page, which handles nav links and form fields automatically, so an agent can separate the two without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states when to use it (facts that aren't safe to auto-detect, and only once a search pattern has been verified working) and when not to (nav links and form fields, which read_page records automatically: "you don't need to save those yourself"). The verification prerequisite and the manual-versus-automatic split are both explicit rather than implied.

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