Skip to main content
Glama

get_latest_session

Read-only

Use this when the user wants to pick up where they left off, asks what they were working on last time, or refers to an earlier conversation in any AI tool. Returns the most recent session log: what was accomplished, decisions made and next steps. Do not use it for brand voice, identity or saved facts (use get_brand_context), and use list_sessions to browse older sessions.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, so safety is covered. The description still adds value by disclosing the shape of the returned content — accomplishments, decisions, next steps — which matters because no output schema exists. It does not cover edge cases such as what happens when no prior session exists, keeping it short of a 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 sentences, front-loaded with the usage trigger before the return description and the disambiguation. Every clause carries distinct information; nothing is repeated from the title or annotations.

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?

With zero parameters and no output schema, the description must carry both selection guidance and return semantics, and it does both. An agent can decide when to call it and knows what it will receive without further information.

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?

The tool takes no parameters, so the baseline is 4. The description correctly implies no arguments are needed to obtain the latest session, matching the empty schema.

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?

States a specific verb and resource ('Returns the most recent session log') and enumerates the payload ('what was accomplished, decisions made and next steps'). It explicitly distinguishes itself from get_brand_context and list_sessions, so an agent can route 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?

Gives concrete trigger phrases ('pick up where they left off', 'what they were working on last time', 'refers to an earlier conversation') plus explicit exclusions pointing to get_brand_context and list_sessions. Both the when and the when-not are covered with named alternatives.

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.

Resources