Skip to main content
Glama

sessions

Retrieve coding activity records filtered by date range and project to review tracked work.

Instructions

List coding sessions (alias)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sessions"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnd datetime (ISO 8601)
fromNoStart datetime (ISO 8601)
projectNoFilter by project name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. 'List' implies a read operation and the presence of from/to parameters implies a time-scoped query, but default range, result limits, pagination, and whether this alias behaves identically to its target are all undisclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Six words contain no filler, but the definition is under-specified rather than lean, and the '(alias)' token is a cryptic fragment that costs a slot without conveying actionable meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter listing tool with no annotations and no output schema, the description omits the essentials: what an alias implies, what a session record contains, and how results are ordered or bounded. An agent could call it, but not predict the outcome.

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 100%, so from, to, and project are already documented with types and ISO 8601 format. The description adds no additional meaning such as default time window or whether project matching is exact or partial; baseline 3 applies.

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

Purpose3/5

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

'List coding sessions' gives a clear verb and resource, but the '(alias)' parenthetical is cryptic: it hints at duplication with a sibling without naming which one or explaining whether behavior is identical. An agent can guess the general area but cannot confidently separate this from tf_sessions.

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

Usage Guidelines2/5

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

No when-to-use guidance is given. With a sibling literally named tf_sessions present, the '(alias)' note is the only differentiation offered and it does not state which tool to prefer or under what conditions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.