Skip to main content
Glama

screengraph_ingest_event

Ingest terminal commands, IDE saves, notes, or viewport states into a causal graph. Scrubs PII, embeds text, and links each event so you can trace why a file changed or an error occurred.

Instructions

Ingest a terminal command, IDE save, note or simulated viewport state. Text is PII-scrubbed, embedded and linked into the causal graph.

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": {
      "app": "<app>",
      "text": "<text>"
    },
    "name": "screengraph_ingest_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
tsNo
appYesApplication name, e.g. 'zsh', 'Code', 'Chrome'.
urlNo
textYesVisible text / command output / saved file excerpt. Scrubbed before storage.
titleNo
doc_pathNo
clipboardNoText copied from this window (enables clipboard bridges).
window_idNo
app_categoryNoterminal | browser | ide | dashboard | chat | otherother

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It does add genuinely useful, non-obvious behavior: text is PII-scrubbed before storage, then embedded and linked into the causal graph, which tells the agent the stored text is altered and that ingestion has downstream graph effects. It omits return shape, idempotency/duplicate handling, and failure behavior for a mutation tool.

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?

Two tight sentences with the core action front-loaded and no filler; the second sentence carries the behavioral payload. Minor deduction because "simulated viewport state" is an undefined term that the reader must guess at.

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 9-parameter mutation tool with no annotations and no output schema, the description covers purpose and the storage pipeline but leaves the majority of parameters and the post-call outcome undocumented. Adequate as a starting point, insufficient for confident invocation without inspecting the schema.

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

Parameters2/5

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

Schema description coverage is only 44% across 9 parameters; the schema documents app, text, clipboard and app_category, while ts, url, title, doc_path and window_id are undocumented. The description adds no parameter-level meaning at all (e.g. whether ts defaults to now, how window_id links events, what doc_path implies), so it does not compensate for the coverage gap.

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?

States a specific verb ("Ingest") and enumerates the concrete resource types accepted: terminal command, IDE save, note, simulated viewport state. This clearly marks it as the write/ingestion path relative to the read-oriented siblings (search, timeline_replay, privacy_audit), though it never names them explicitly.

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 when-to-use, when-not-to-use, or alternative-tool guidance. An agent must infer that this is the recording entry point and gets no signal about prerequisites (e.g. whether app must match a known category) or what to do if the same event is already captured.

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