Skip to main content
Glama

Session brief

brief
Read-onlyIdempotent

Read a short session-start orientation with current warnings, open threads, recent decisions, and repo-specific memory. Use it to quickly reload workspace context before coding.

Instructions

Short orientation to read at the start of a session: current warnings, open threads and recent decisions for this workspace, plus what memory holds about repo when given. With repo_only, only the repo section (no workspace-wide warnings or threads). Read-only; returns brief as plain text of at most 6000 characters. The brief is built from distilled facts, so it stays nearly empty until the worker has distilled some sessions.

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

Input Schema

NameRequiredDescriptionDefault
repoNoRepository name (or owner/name) to add a section about.
repo_onlyNoOnly the repo section, with the whole length budget; needs repo.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, closed-world behavior; the description adds value on top by stating the return is plain text capped at 6000 characters and that the brief stays nearly empty until the worker has distilled sessions. That empty-state caveat is exactly the kind of behavioral fact an agent would otherwise misinterpret as a failure.

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

Conciseness5/5

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

Four tight sentences, front-loaded with the core purpose followed by the modifier, output shape, and the caveat about sparse content. No sentence is redundant with another.

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?

For a two-optional-parameter read tool with annotations and an output schema, nothing material is missing: trigger context, parameter effects, output format, size bound, and the sparse-until-distilled behavior are all covered.

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 coverage is 100%, so both parameters are already documented, but the description clarifies that repo_only drops workspace-wide warnings and threads rather than merely trimming output. It also frames repo semantically as 'what memory holds about this repo' rather than just a name field.

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?

Names a specific artifact and enumerates its contents (current warnings, open threads, recent decisions, repo memory), so the agent knows exactly what it gets. The scoping modifier 'repo_only' and the 'for this workspace' scope are stated, distinguishing it from a generic listing tool.

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?

'Read at the start of a session' gives an explicit trigger context, which is more than most definitions offer. It stops short of naming when to prefer a sibling such as the warnings tool directly, so it is clear context without explicit exclusions.

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