Skip to main content
Glama

start_session

Initialize a project session by loading rules, memory summary, and current plan in one read-only call before answering project questions.

Instructions

Start a session: rules, memory summary and current plan in one call.

MANDATORY: call this once at session start, before answering any
question about the project. It already contains what get_instructions,
get_summary and get_plan return (the plan without ideas, someday items
and shipped work), so do not call those as well.

Read-only; does not modify memory.

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

Input Schema

NameRequiredDescriptionDefault
projectNoWhich project this call is about — a registered id, alias, or absolute path (e.g. 'ossdrop'). Omit it when the server was started for a single repo, or when an active project is set with `pjm project use`. Call list_projects to see the registered names.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.6

TDQS

A4.4/5.0
Behavior4/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 does state 'Read-only; does not modify memory,' which is the key safety fact for a session-bootstrap call. It also discloses content-level behavior by noting the embedded plan excludes ideas, someday items and shipped work, a non-obvious caveat. It stops short of covering auth, caching or freshness, keeping it at 4 rather than 5.

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?

Three short paragraphs, each earning its place: purpose first, then the mandatory trigger, then the read-only assurance. The parenthetical caveat about excluded plan items is compact and load-bearing.

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?

An output schema exists so return shape needn't be explained, and the only parameter is fully described in schema. The description covers trigger timing, sibling suppression and the read-only guarantee. Slight gap: no mention of what happens if project is omitted and no active project is set, leaving failure behavior unspecified.

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 coverage is 100% and the single optional 'project' parameter already documents accepted forms (registered id, alias, absolute path), defaults and the list_projects escape hatch. The description adds no further parameter meaning, so the baseline 3 applies.

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 verb and resource and enumerates the payload: 'rules, memory summary and current plan in one call.' It also explicitly distinguishes itself from three siblings (get_instructions, get_summary, get_plan) by claiming to contain their output, so an agent can pick between them without opening schemas.

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?

Explicit when: 'MANDATORY: call this once at session start, before answering any question about the project.' Explicit when-not/alternatives: 'do not call those as well' for the three constituent tools, with the caveat that the plan omits ideas, someday items and shipped work — which tells the agent when the composed call is insufficient.

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