Skip to main content
Glama

sketch

Captures what a past coding session was about in one call: its opening ask, most distinctive passages, and last word. Use it to orient before searching a session's details.

Instructions

What one session was about, worked on, and ended up at: the passages most distinctive within it, verbatim, always including its opening ask and its last word. Takes a session id; there is no query. Enough to tell the user what a session was, in one call; not a way to find a particular thing in it.

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": {
      "session_id": "<session_id>"
    },
    "name": "sketch"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast turn to digest, as the session's own seq.
fromNoFirst turn to digest, as the session's own seq. Digest a long session in windows to get coverage proportional to its length rather than a fixed sample of it.
unitsNoHow many distinct places to show — breadth (default 8, maximum 40). Also held to what `max_chars` can render at 240 characters apiece, and any narrowing is reported in the reply.
memoryNoMemory to read for this call, as it stands — `<org>/<repo>`, an `hf://…` URI, a local path, or `local`. Omitted, the server's memory, where a session this host has not finished pushing is read from the local memory.
max_charsNoTotal characters to render — cost (default 8000, maximum 40000). More than that is a reply no caller receives.
session_idYesSession to digest — the id from a `sessions` row or a hit's `→ get` line

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.12.0
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv1.10.0

TDQS

A3.6/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 burden. It usefully discloses output shape (verbatim passages, deterministic inclusion of the opening ask and final turn, no query) and warns that results come back in a single call, but it says nothing about the read-only nature, the fact that output is truncated by a character budget, or that breadth is silently narrowed — the latter two being behaviors an agent would otherwise be surprised by.

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 sentences, front-loaded with the payload and followed by the scoping caveat, with no filler sentences. The prose is stylized ('ended up at', 'its last word') rather than plainly stated, which costs a little parsing effort but does not waste space.

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 six-parameter read tool with no output schema and no annotations, the description conveys what the return looks like conceptually and rules out search-style use, and the schema fills in the mechanical details. The main remaining gap is behavioral: nothing tells the agent that results may be narrowed or truncated by the size controls, which is exactly the kind of surprise this tool can produce.

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 description coverage is 100%, so the schema already documents all six parameters in detail, including from/to windows, units and max_chars defaults. The description adds only one semantic point beyond that — that session_id is the sole required input and no query string exists — which is helpful but minimal; the windowing and cost controls are left entirely to the schema.

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?

The description specifies the resource (one session) and what comes back (the most distinctive verbatim passages, always including the opening ask and the last word), and it separates this from lookup tools with 'there is no query' and 'not a way to find a particular thing in it'. The only weakness is that it never uses a plain verb like 'digest' or 'summarize', relying instead on evocative phrasing ('what one session was about, worked on, and ended up at'), so the operation type must be inferred from the schema's parameter text.

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 both a when-to-use ('Enough to tell the user what a session was, in one call') and a when-not ('not a way to find a particular thing in it'), which is real routing guidance. It stops short of naming a specific sibling such as recall or scan as the alternative for targeted lookup, so the agent must map the negative case to a sibling itself.

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

Deploy Server

Other Tools