Skip to main content
Glama
grandMA2 MCP
by drohi-r

get_sequence_memory

Retrieve a sequence's in-memory SequenceEntry and CueRecords by ID without Telnet calls; call hydrate_sequences first if the sequence is not yet in the snapshot.

Instructions

    Return the in-memory SequenceEntry and its CueRecords for a given ID.

    Zero telnet cost — reads from snapshot. Call hydrate_sequences first
    if the sequence is not yet in the snapshot.

    Args:
        sequence_id: The sequence ID to retrieve.

    Returns:
        str: JSON with sequence properties and cue list.
    

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": {
      "sequence_id": "<sequence_id>"
    },
    "name": "get_sequence_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
sequence_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries full behavioral burden. It usefully discloses that the read is from a snapshot with zero telnet cost and depends on prior hydration, which is genuine operational context. It does not say what happens when the sequence is absent from the snapshot (error vs. empty), nor anything about permissions or caching/snapshot staleness.

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?

Short and front-loaded: the core action comes first, then cost/snapshot behavior, then the hydration prerequisite. The Args/Returns stanzas are conventional though the Returns section slightly duplicates the output schema.

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 single-parameter read tool with an output schema present, the description covers the essential behavior and the hydration prerequisite. The remaining gap is the missing snapshot-miss behavior, which matters for correct invocation.

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?

Only one parameter with 0% schema description coverage, and the description adds nothing beyond restating it as 'the sequence ID to retrieve.' An agent gets no format, range, or source-of-ID guidance, so the definition does not compensate for the coverage gap.

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 resource: return the in-memory SequenceEntry and its CueRecords for a given ID. It also implicitly distinguishes itself from mutation/execution siblings by framing the result as a snapshot read. It does not explicitly contrast against other get_* readers, so it falls short of full sibling differentiation.

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?

Gives a concrete prerequisite: 'Call hydrate_sequences first if the sequence is not yet in the snapshot,' which names the alternative tool and the condition that selects it. It does not cover failure behavior or when to prefer a different reader, but the key when-to-use condition is present.

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