Skip to main content
Glama

end_session

CALL AT END OF EVERY SESSION — mandatory handoff tool. Saves summary + any remaining decisions/insights not yet stored via add_knowledge(). Updates project status and next steps so the next agent starts with current context. Pass completedTaskIds for tasks finished this session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
summaryYesConcrete summary: what was built/fixed/decided? Include what still needs doing. This is the primary handoff document for the next agent.
insightsNoGotchas, workarounds, non-obvious facts discovered this session that were NOT yet saved via add_knowledge()
newTasksNoNew tasks that emerged this session
decisionsNoArchitecture/approach decisions made this session that were NOT yet saved via add_knowledge()
nextStepsNoWhat should the next agent tackle first?
projectIdYesProject ID
statusSummaryNoUpdated one-liner: where does the project stand NOW after this session?
completedTaskIdsNoIDs of tasks completed this session — get IDs from list_tasks() if needed

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavior disclosure. It clearly states the core side effects: saving a summary, persisting remaining insights/decisions, and updating project status and next steps. It does not mention the return shape or whether calling it finalizes the session irreversibly, but it does expose the main state changes.

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 four short, purposeful sentences. It front-loads the most important instruction—CALL AT END OF EVERY SESSION—and then packs in what the tool saves, what it updates, and what the agent should pass. Every sentence contributes something necessary; there is no filler.

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 an 8-parameter handoff tool with no annotations and no output schema, the description plus a fully covered parameter schema is largely sufficient. It explains the mandatory timing, what to supply, and the persistence behavior. A small gap is that it does not explicitly address how this interacts with sibling update_project_status or what response the agent should expect after calling it.

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 description coverage is 100%, so the baseline is 3. The description adds semantic value by clarifying that insights and decisions should only include items not yet stored via add_knowledge(), and by explicitly directing the agent to pass completedTaskIds for tasks finished this session. This goes slightly beyond the schema's field-level descriptions.

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 states a specific verb and resource: it ends the session and acts as a mandatory handoff tool. It clearly distinguishes itself from sibling knowledge-storage tools by saying it saves only remaining insights/decisions not yet stored via add_knowledge(). The phrase 'Updates project status and next steps' also separates it from simple knowledge-add or task 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?

The description explicitly says when to call it: at the end of every session, with 'mandatory' emphasizing the rule. It also provides guidance on what to pass, especially completedTaskIds for tasks finished this session, and tells the agent to leave out anything already saved via add_knowledge(), which effectively names the alternative tool and the boundary between them.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

B3/5.0
Disambiguation3/5

Most tools target distinct resources (elements, knowledge, tasks, datasets, snapshots), but a few pairs blur boundaries: create_project/init_project both create projects, and pin_knowledge/set_knowledge_relevance both mark importance for future agents. The descriptions help separate them, but misselection is possible without careful reading.

Naming Consistency3/5

Tool names consistently use snake_case verb_noun and have solid list_/get_/search_ conventions. However creation verbs are inconsistent (add_element vs create_entry vs save_dataset vs init_project), and deletion mixes delete_entry/delete_file with remove_element, making the naming pattern less predictable than it could be.

Tool Count2/5

48 tools is well above the typical well-scoped range, and the set includes many lifecycle variants (create/init/save/add, delete/remove, update/set) that inflate the count. While the server covers a broad domain, the sheer number makes it heavy and harder for an agent to navigate.

Completeness3/5

The core surfaces (projects, elements, knowledge, timeline, tasks, chats, datasets, snapshots, files) have solid create/read/update coverage, with search and session-handoff tools. Notable gaps exist: read_file references a download path for binary files that no tool provides, and there is no get_entry or delete/archive for projects, datasets, snapshots, or chat sessions.

Resources