Skip to main content
Glama

get_memory_block

Read-onlyIdempotent

Retrieve a labeled memory block from the caller's workspace to poll a child task's result, returning null when no block exists.

Instructions

Get a memory block by label within the caller's workspace, or null if none. This is the watch-a-child's-result-block read (poll it).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "label": "<label>"
    },
    "name": "get_memory_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered. Beyond that, the description adds genuinely useful behavior: the lookup is scoped to the caller's own workspace, a miss returns null rather than an error, and the intended pattern is repeated polling — none of which is recoverable from the annotations or the bare schema.

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?

Two short sentences with the core contract (label in, block-or-null out) front-loaded and no filler. The parenthetical "watch-a-child's-result-block read" is compact but leans on internal jargon that may not parse for an agent unfamiliar with the convention.

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?

With no output schema, the description must convey the return value, and it does at the level of "a memory block or null." It stops short of describing what a block contains (value, status, owner) or how a poller should distinguish 'not ready yet' from 'will never exist,' which for a polling read is the remaining substantive gap.

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 0%, so the description carries the burden for the single required parameter. It clarifies that the label is resolved within the caller's workspace and that absence yields null, but it says nothing about label format, uniqueness, or where a caller obtains a child's label — gaps that matter for a label-keyed lookup.

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 gives a specific verb and resource ("Get a memory block") plus a lookup key ("by label") and a scope ("within the caller's workspace"), and it states the null-on-miss outcome. The second sentence hints at the distinct use case relative to a blocking wait, but it does not name or explicitly contrast with the sibling wait_for_memory_block.

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?

"This is the watch-a-child's-result-block read (poll it)" implies the usage context and, through "poll it," hints at the difference from a blocking wait. However, it never states when this tool is preferable to wait_for_memory_block or what to do when the result is null, leaving the choice between siblings to inference.

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

Deploy Server

Other Tools