Skip to main content
Glama

pulse

Start an agent session with a scope's checkpoint, pending counts, pins, and next reads. See what to open before acting.

Instructions

Session warm-up: the latest checkpoint, what is pending, and what to read next.

Returns {project, latest_checkpoint, pending, pinned, read_next, scope}.

latest_checkpoint is picked by created_at DESC, never by similarity -- a similarity-ranked top-1 can return a stale checkpoint over a same-day one, which is exactly the failure mode this avoids. It is returned in full (that's the point of pulse), with its relations attached so linked memories are visible without a separate get_relations call, and carries est_tokens, what this response already spent on it.

pending is the categories list pending(domain) returns without a type: a count per category (task, anti_pattern, handoff, note, diagram), leaving out the empty ones. read_next is the instruction to follow with it: open tasks first, then pending(domain, type=...) for each other category, before acting. It is "" when nothing is pending. A pulse lists no memories besides the checkpoint; pending(domain, type=...) lists headers and get_memory(uid) opens one.

pinned counts the pins in scope the same way (see pending()); when it is non-empty read_next asks for them before anything else.

domain warms up a path and everything under it, so pulse('acme/x100') is the module-wide brief and pulse('acme/x100/p200') the routine's. A domain that names only the deep end of a path ('p200') is resolved to the branches it sits in -- scope.paths reports which, and an ambiguous name resolves to ALL of them.

scope is the rest of the brief: what the scope HOLDS. scope.by_type counts every memory per type and scope.subdomains says which level it is sitting in (own = filed there, subtree = with its descendants). Read them as the drill-down plan: search(query, domain=...) or list_by_domain(domain, type=..., limit=...) on the child that holds what you need. A pulse is the state of a scope, never its contents.

scope.stale is the one thing here about DECAY rather than contents: how many memories in the scope carry a review_after date that has passed. Present only when non-zero. It means somebody who knew the subject said when to look again and nobody has -- optimize_scan lists which ones, with their source_ref.

A scope holds what is CROSS-LISTED into it as well as what is filed there, so warming up an end-to-end flow brings back the routines that are steps of it wherever they live. scope.also counts how much of the brief arrived that way, and a subdomain carries its own also -- present only when non-zero, so a store that never cross-lists never sees the field.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/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 burden and largely meets it: it discloses the ordering rule (created_at DESC, never similarity) and why, that the checkpoint is returned in full with relations attached, token cost via est_tokens, and that fields like stale/also appear only when non-zero. It never states auth/permission requirements or whether the call mutates anything, which is the remaining gap.

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?

Front-loaded with the one-sentence purpose and the return-shape list, then organized field by field, so it is scannable despite its length. It is verbose for a one-parameter tool and repeats constructions like 'present only when non-zero' across pinned, stale, and also, which costs it the top score.

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

Completeness5/5

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

There is no output schema, so the description must define the return payload -- and it enumerates every field (project, latest_checkpoint, pending, pinned, read_next, scope with by_type/subdomains/stale/also) and how to interpret each. Nothing an agent needs to consume the response is missing.

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

Parameters5/5

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

Schema coverage is 0% and the single `domain` param is undocumented in the schema, so the description must compensate -- and it does in depth: domain warms up a path and everything under it, deep-only names are resolved to their branches with scope.paths reporting the result, and ambiguous names resolve to ALL branches.

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?

Opens with a concrete verb-plus-resource framing ('Session warm-up: the latest checkpoint, what is pending, and what to read next') and immediately distinguishes itself from siblings by stating a pulse 'lists no memories besides the checkpoint' while pending/get_memory/search/list_by_domain do the listing. An agent can tell exactly what this returns versus neighboring tools.

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?

Gives an explicit session-start trigger, then routes the agent onward: 'open tasks first, then pending(domain, type=...) for each other category, before acting,' with read_next codifying the sequence. It also names the alternatives and their division of labor (pending = headers, get_memory(uid) = the record, search/list_by_domain = contents).

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