Skip to main content
Glama

Samuelz® Agent

Read role work context

get_work_context
Read-onlyIdempotent

Read this authenticated tenant's bounded role positions, shared work, runs and questions. Includes the latest controlled public/synthetic session artifact and scoped best-effort usage when available. This read never starts a model or writes accounting. Cursor revisions return later journal changes; goal and policy sections require their own read scopes. POST /api/v1/tenant/read/get_work_context.

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_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
roleKeyNo
agentKeyNo
sinceRevisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the description is not obligated to establish safety. It nonetheless adds real behavioral detail: no model invocation, no accounting writes, best-effort usage data that may be absent, and the fact that goal/policy sections need separate scopes. It stops short of describing response shape or pagination limits.

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

Conciseness4/5

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

Front-loaded with the core read purpose, then caveats, then the endpoint. Five sentences with no filler, though phrases like 'controlled public/synthetic session artifact' and 'bounded role positions' are dense internal jargon that cost the reader without adding precise meaning.

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

Completeness3/5

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

For a read-only aggregate tool with no output schema and zero documented parameters, the description covers side effects and access scoping well but leaves the caller without any sense of what the four inputs do or what the envelope contains. Adequate to decide whether to call, insufficient to call confidently with limit, roleKey, or agentKey set.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across four parameters, so the description carries the full burden and mostly does not. 'Cursor revisions' loosely maps to sinceRevision, and 'bounded role positions' faintly evokes roleKey/agentKey, but limit, agentKey, and the revision format/units go unexplained, leaving an agent to guess at semantics and defaults.

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?

States a specific verb and enumerates the resources returned: bounded role positions, shared work, runs, and questions, plus session artifact and usage data. That is enough for an agent to distinguish it from siblings like get_knowledge_context or get_code_quality_runner_context, though the bundle nature of the payload makes the boundary slightly soft.

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 it (to read the tenant's aggregate work context) and hints at incremental paging via 'Cursor revisions return later journal changes', but it never names an alternative tool or states a condition for choosing one. It notes 'goal and policy sections require their own read scopes', which is a useful scoping caveat rather than a when-to-use rule.

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