Skip to main content
Glama

get_work_session

Read-only

Show the selected conversation’s workspace, active tool calls and recent workflow runs. Requires workSessionId; other conversations’ activity is excluded.

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": "get_work_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceIdNoComputer name or id
workSessionIdNoFrom create_work_session

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / deviceId / description
      Previous value: -"Computer name or id; optional with one computer or a default"New value: +"Computer name or id"
  2. Changed2 schema fields changed
    • changedInput schema / properties / deviceId / description
      Previous value: -"Computer name or id from list_devices. Optional with one computer online or a default set."New value: +"Computer name or id; optional with one computer or a default"
    • changedInput schema / properties / workSessionId / description
      Previous value: -"Work session from create_work_session. Pass the same ID on every call in this conversation; omit for legacy unscoped work."New value: +"From create_work_session"
  3. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the description's job is to add context, which it does: it discloses the scope restriction that activity from other conversations is excluded and enumerates what the response contains. With no output schema, naming the returned surfaces (workspace, active tool calls, recent runs) is genuinely useful behavioral information. It does not cover ordering, volume, or staleness of "recent" runs.

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?

Two short sentences, front-loaded with what is shown and followed by the scoping/precondition clause. No filler, no restatement of the title, and every clause carries information an agent needs.

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 two-parameter read tool with full schema coverage, annotations, and no output schema, the description covers the essential gaps: what is returned and the single-conversation restriction. The remaining shortfall is the absence of any guidance on deviceId or on how this differs from the session-listing and workflow siblings.

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 100% and both parameters are documented there, so the baseline is 3. The description adds scope meaning for workSessionId (it selects one conversation, excluding others), but its claim that the id is "Required" conflicts with the schema, which lists zero required parameters — a defect that could mislead an agent into thinking the call will fail without it. It says nothing about the role of deviceId.

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 opens with a specific verb and enumerates the concrete resources returned: workspace, active tool calls, and recent workflow runs. It also scopes the read to a single selected conversation. It stops short of naming a sibling (e.g., list_work_sessions or get_workflow) to contrast against, so the agent must infer the boundary.

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?

"Requires workSessionId" gives a precondition and "other conversations' activity is excluded" implies the single-session use case, so usage is implied rather than stated. There is no explicit statement of when to prefer this over list_work_sessions (all sessions) or get_workflow (workflow detail), leaving the agent to reason about alternatives on its own.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources