Skip to main content
Glama

memory_state_get

Fetch JSON state scoped to the caller's org, bearer token, and repo.

Input Schema

NameRequiredDescriptionDefault
keyYesOpaque state key, e.g. continual-learning/index
repoYesWorkspace slug (absolute path with leading / removed and / replaced by -)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does usefully disclose the auth/scoping model (caller's org, bearer token, repo) which an agent needs, but it is silent on behavior when the key is absent (empty result vs. error) and on whether the call mutates anything.

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?

One sentence, front-loaded with the verb and never wasteful. Minor deduction for the escaped-backtick artifacts around ``repo`` that read as markup leakage rather than deliberate emphasis.

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 getter with 100% schema coverage and an output schema that carries the return shape, the description covers the essential scoping and auth context. It falls short only on the missing-key/error path and on stating explicitly that the operation is read-only, which no annotation supplies.

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 both required parameters (key, repo) are already documented with examples and format rules. The description echoes ``repo`` but adds no syntax or meaning beyond the schema, so the baseline 3 applies.

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?

Specific verb ("Fetch") plus resource ("JSON state") and an explicit scope qualifier (org, bearer token, repo). An agent can tell it apart from memory_state_set (its write counterpart) and from generic memory_get, though the description never names a sibling explicitly.

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?

Usage is implied by the name and the read-oriented verb: retrieve state previously written by memory_state_set. There is no explicit when-to-use, when-not-to-use, or named alternative guidance, so the agent must infer the read/write pairing itself.

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.