Skip to main content
Glama

get_session_log

Retrieve your current session's activity log and search history summary to review recent searches and changes.

Instructions

取得當前 session 的 activity log 與搜尋歷史摘要。

適合讓 user 回顧最近做過哪些搜尋、cache/reading-list/exclusion 變化,以及作為 debug 時的 session-level 事件檢視。

Args: event_limit: 回傳的 event 筆數上限 (預設 50) kind: 可選,僅回傳特定 event kind include_history: 是否一併包含搜尋歷史摘要 (預設 True) history_limit: 搜尋歷史摘要筆數上限 (預設 10)

Returns: Session activity log 與搜尋歷史摘要

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
event_limitNo
kindNo
include_historyNo
history_limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, but description adequately explains the read-only nature and parameter effects. It does not discuss auth or rate limits, but these are less critical for a logging tool.

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?

Description is concise with a clear front-loaded purpose. Every sentence adds value, and the Args/Returns format is clean and well-structured.

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?

Given the presence of an output schema, the description sufficiently covers purpose, parameters, and usage. No missing information for the tool's complexity.

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 coverage is 0%, so description must compensate. It lists all four parameters with defaults and brief descriptions. However, 'kind' lacks possible values, and 'history_limit' context is minimal. Adequate but not exhaustive.

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 states the tool retrieves 'activity log' and 'search history summary' for the current session. It uses specific verbs and resources, distinguishing it from siblings like 'get_session_summary'.

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?

Explicitly mentions suitable scenarios: reviewing recent searches, cache changes, and debugging. However, it does not specify when not to use it or provide direct comparison to 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/u9401066/pubmed-search-mcp'

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