Skip to main content
Glama

workspace_get_context

Read-onlyIdempotent

Reads the shared workspace context so newly joined agents can learn the project state before acting.

Instructions

Read the shared context object published by workspace_put_context. Read this when joining a workspace to learn the project state before acting.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.11

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and a closed world, so the safety profile is fully covered. The description adds useful behavioral context beyond that: the object is shared workspace state produced by a counterpart tool, and reading it should happen before acting. It does not disclose what happens when no context exists, which keeps it below a 5.

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, both front-loaded with the essential point: what it reads, then when to read it. No redundancy or filler.

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 parameterless read with no output schema, the description gives enough to call it correctly and correctly attributes the data source to workspace_put_context. A brief note on the shape of the returned context or on the empty-state would make it fully complete.

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

Parameters4/5

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

The tool takes zero parameters, so per the baseline this dimension sits at 4; there is nothing for the description to compensate for, and it correctly implies the read is scoped implicitly to the caller's workspace rather than requiring an id.

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 names a specific verb and resource ("Read the shared context object") and ties it directly to the writer, workspace_put_context, which lets an agent distinguish it from sibling getters like workspace_get_capsule or workspace_get_file without opening a schema.

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?

It gives explicit timing guidance: "Read this when joining a workspace to learn the project state before acting." That covers the primary when-to-use case clearly, but offers no exclusions or failure/empty-state guidance (e.g., what to do if no context has been published yet).

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