Skip to main content
Glama

get_last_handoff

Retrieve the most recent AI handoff document to provide full project context for a new AI session.

Instructions

Retrieve the most recent AI handoff document so a new AI session has full context.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoProject root directory..

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries the burden. It states a retrieval action but does not disclose potential edge cases (e.g., no handoff exists), return behavior, or explicitly confirm no side effects. It adds context about the purpose but not deeper behavioral details.

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 a single, focused sentence that front-loads the action and resource. Every word adds value, with no redundant information.

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 a simple retrieval tool with one parameter and an output schema, the description is adequately complete. It clarifies the purpose and usage context, though it could mention what happens when no handoff exists; however, that may be covered by the output schema.

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?

The single parameter (path) is fully described in the schema (100% coverage), so the description doesn't need to add parameter details. The baseline of 3 applies because the schema does the heavy lifting.

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 specifies the action (Retrieve) and resource (most recent AI handoff document), and the purpose clause ('so a new AI session has full context') adds useful context. This distinguishes it from siblings like generate_handoff or list_handoffs by focusing on the latest document.

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?

It implies when to use it: at the start of a new AI session to get context. However, it doesn't explicitly differentiate from alternatives like list_handoffs or mention conditions when this is not appropriate, so it falls short of a 5.

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/pranjal2410719/dev-mcp'

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