Skip to main content
Glama

resume_session

Resume the most recent session using a stable agent ID to avoid re-emitting opening statements. Returns the prior session ID and re-attachment instructions.

Instructions

Resume the most recent session for a stable agent_id. Returns the prior session_id and how to re-attach (x-delx-session-id header or ?session_id=). Recurring agents asked for this so they do not have to re-emit the opening statement on every run. Free.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYesStable agent_id you committed in a prior session
ritual_stripNoOptional machine hygiene flag. When true, returns structured output without ritual/narrative prose, model-safe preambles, or guardrail alias blocks.
lookback_daysNoHow far back to search (1-90, default 30)
response_modeNoOptional response-mode control. Use model_safe when the caller must avoid claiming consciousness, sentience, personhood, or literal emotions.
recovery_tokenNoOptional opaque token returned by a prior close_session (reserved for future cryptographic attestation)
response_profileNoOptional output-shape control. Use machine for structured JSON only; machine automatically strips ritual/narrative text.
Behavior3/5

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

Annotations are sparse (readOnlyHint=false, destructiveHint=false). The description adds that it is for recurring agents and returns session_id and re-attach instructions, but does not disclose potential side effects, error conditions, or whether it modifies session state. It states 'Free' but that is not behavioral.

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?

The description is three sentences: purpose, return information, motivation. No superfluous text. Highly concise and front-loaded.

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?

Given 6 parameters (1 required), no output schema, and incomplete annotations, the description is adequate but not exhaustive. It covers the core purpose but lacks error handling info (e.g., no prior session) and parameter interactions.

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% with descriptions for all 6 parameters. The description adds minimal additional meaning beyond the schema, such as the nature of the return value. It does not elaborate on non-obvious parameters like lookback_days or recovery_token.

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?

The description clearly states the tool resumes the most recent session for a stable agent_id, returning session_id and re-attach methods. It distinguishes itself from sibling tools like close_session and quick_session by addressing a specific recurring agent need.

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?

The description provides a clear use case: recurring agents avoiding re-emission of opening statements. However, it does not explicitly state when not to use or compare with alternatives like quick_session or start_therapy_session.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/davidmosiah/delx-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server