Skip to main content
Glama

Get Session Context

get_session_context
Read-onlyIdempotent

Retrieve a consolidated snapshot of visual context, listing recent and frequent states and active transitions to inform next steps in the session.

Instructions

Fetch aggregated visual context, listing recent/frequent states and active transitions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
include_recentNoCount of recent states
response_formatNo
include_frequentNoCount of frequent states
Behavior3/5

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

Annotations already communicate the read-only, idempotent, non-destructive nature. The description adds what the returned data contains (states and transitions) but provides no additional behavioral context such as result ordering, scale, or required preconditions, offering only marginal value beyond annotations.

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 sentence, starts with a verb, and is free of redundant wording. Every word contributes to understanding the tool's purpose.

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?

With no output schema, the description does specify the general content of the return (a list of recent/frequent states and transitions). However, it omits details about response_format values and whether the output structure is a flat list or grouped, leaving some ambiguity for a tool of this simplicity.

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 description coverage is 67%, leaving response_format undocumented. The tool description does not explain any parameter meanings or clarify the 'compact' vs 'full' distinction, so it adds no value beyond the existing schema descriptions for include_recent and include_frequent.

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 uses a specific verb 'Fetch' and names the resource 'aggregated visual context', also specifying what it includes ('recent/frequent states and active transitions'). This clearly distinguishes it from sibling tools like get_navigation_paths or list_visual_specs.

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 implies when to use the tool (when session context is needed) but offers no explicit guidance on when not to use it or which alternatives to choose. No mention is made of sibling tools like recall_memory or get_navigation_paths as alternatives.

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/putervision/vision-memory-mcp'

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