Skip to main content
Glama

screengraph_search

Search desktop activity with hybrid keyword, visual, and causal graph matching to retrieve similar screen states and trace file edits or errors.

Instructions

Hybrid 4-way search (FTS5 BM25 + dense Matryoshka + visual Patch-MaxSim + causal graph walk, fused by RRF).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "screengraph_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
kNo
queryYes
app_categoryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It discloses only the ranking strategy (RRF fusion of four channels); it says nothing about what is returned, ordering guarantees, cost/latency of a four-way hybrid query, or whether results are scoped to an active workspace. The algorithmic detail is interesting but not operationally actionable.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence is structurally efficient and front-loaded, but it spends its entire budget on acronyms and internal architecture (FTS5 BM25, Matryoshka, Patch-MaxSim, RRF) rather than information an agent needs to select and call the tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, 0% parameter coverage, and no usage guidance, this description leaves nearly every question unanswered for a multi-modal hybrid search tool. The only content present is implementation trivia, which does not compensate for the missing operational detail.

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

Parameters1/5

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

Schema description coverage is 0% across three parameters, and the description mentions none of them. 'query' is at least implied by 'search', but 'k' (result count, default 10, max 100) and 'app_category' (a filter) are completely undocumented in both schema and description, leaving the agent to infer their semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The sentence names the mechanism ('Hybrid 4-way search') and its four components, but never states what corpus is being searched (screenshots, events, sessions?) or what a hit represents. An agent cannot distinguish this from sibling screengraph_visual_search on the basis of the text, since 'visual Patch-MaxSim' is listed as one of this tool's own channels.

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 when-to-use or when-not-to-use guidance and no mention of alternatives, despite siblings like screengraph_visual_search and screengraph_causal_why that clearly overlap with individual channels named here. The agent must guess whether this is the general-purpose entry point or a specialist.

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