Skip to main content
Glama

veto_session_save

Save current AI session context to SQLite with optional auto-generated summary and task state. Update existing sessions by passing session_id.

Instructions

Saves the current session context to SQLite. Set auto_summarize: true to have Veto read the full conversation and generate an accurate structured summary itself — no manual writing needed. Pass session_id to update an existing session in-place.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoOptional labels for this session (e.g. ["auth", "migration", "v1.3"]). Makes sessions searchable via veto_sessions_list query.
modelNoOptional: specific model ID (e.g. "claude-sonnet-4-6", "gemini-3.5-pro", "gpt-5.1"). Veto resolves the exact context window for this model and uses it for auto-save threshold calculations.
contextNoKey context to restore (decisions, current task, file list, etc.). Optional when auto_summarize is true.
summaryNoA brief summary of what was accomplished. Optional when auto_summarize is true.
platformNoAI platform used (claude, gemini, codex). Defaults to "claude".
session_idNoOptional. UUID of an existing session to update in-place. When provided, Veto updates that row instead of inserting a new one — prevents session inflation when refreshing mid-conversation.
task_stateNoCurrent task state — what is done and what is next. Optional when auto_summarize is true.
project_dirNoAbsolute path to the current project directory.
token_countNoApproximate tokens used this session. Veto uses this for context window monitoring.
auto_summarizeNoWhen true, Veto reads the full conversation context via MCP Sampling and generates summary, context, and task_state automatically — including specific file paths, decisions, and a concrete nextAction. Recommended: pass true and omit summary/context/task_state. Falls back to provided values if sampling is unavailable.
connection_typeNoHow you are connected to this AI — "subscription" (Claude Pro, Gemini Advanced) or "api" (API key). Used for usage tracking.
Behavior3/5

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

Annotations already indicate it is not read-only and not destructive. The description adds behavioral context: it mentions auto_summarize uses MCP Sampling and session_id prevents session inflation. However, it does not disclose potential side effects, error conditions, or whether the save is synchronous.

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 extremely concise (three sentences) and front-loaded with the primary purpose. Every sentence provides essential information with no fluff, making it efficient for an agent to parse.

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?

Given 11 parameters and no output schema, the description covers the main use cases. However, it omits important interplay details (e.g., recommending to omit context/summary/task_state when auto_summarize is true), which are present in the schema but not in the description itself. Still, with high schema coverage, it is mostly complete.

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 coverage is 100% with good parameter descriptions. The tool description adds extra meaning for key parameters: auto_summarize and session_id (e.g., 'prevents session inflation when refreshing mid-conversation'). This goes beyond the schema, enhancing agent understanding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the core action: 'Saves the current session context to SQLite.' It also highlights two key features: auto_summarize and session_id for updating. However, it does not explicitly differentiate this tool from sibling session tools (e.g., veto_session_replay, veto_sessions_list), which would help an agent choose correctly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides usage guidance: when to use auto_summarize and when to pass session_id for updates. But it lacks explicit when-not-to-use or alternative tool recommendations. The guidance is implied rather than explicit, leaving some ambiguity.

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/jigyasudham/veto'

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