Skip to main content
Glama

Shared workspace memory

hub_state

A small key-value store every app and agent in the workspace can read and write, so they share context (current task, last result, settings). Actions: get, set, delete, list. Up to 100 keys of 4 KB each. Cost: 1 credit per call.

Input Schema

NameRequiredDescriptionDefault
keyNo
valueNo
actionNolist
workspaceNoWorkspace name. Leave as main unless you run severalmain

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose real behavioral facts: a 100-key / 4 KB capacity limit and a 1-credit cost per call, plus workspace-wide sharing scope. It stops short of mutation semantics — nothing says delete is irreversible, what happens on a missing key, or what the response contains.

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?

Four short, front-loaded sentences: identity, actions, capacity, cost. No filler, and the most important framing (what the store is for) comes first.

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 4-parameter, no-output-schema tool with no annotations, the description covers purpose, operations, limits, and cost but omits return/error behavior and any differentiation from the hub_* family. Adequate but leaves real gaps an agent would have to probe.

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 only 25% (workspace alone is documented in the schema), so the description must compensate and does not. It repeats the action enum already present in the schema and says nothing about the key pattern, accepted value types, or the workspace scoping rules.

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 states a specific resource (a shared key-value store) and enumerates the exact operations (get, set, delete, list), so the agent knows precisely what the tool does. It does not, however, distinguish itself from the hub_* siblings (hub_read, hub_send, hub_routes), which could plausibly overlap.

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?

It gives a use case — 'every app and agent in the workspace can read and write, so they share context (current task, last result, settings)' — which implies when it is useful. But there is no explicit when-to-use versus alternatives, no prerequisites, and no exclusion guidance relative to the other hub tools.

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.