Skip to main content
Glama

Read a link's LFG stack

read_stack
Read-onlyIdempotent

Reads the LFG stack behind one of the person's LFG links, by its id: what the link knows, in full. That is its interest (what it is for, in the person's words), its plan, its research topics, every source the LFG agent reads with why and when it was last read, what changed lately, and for a link the person made, the notes and links they gave as context. Read only: it changes nothing. Works on links the person made and ones they ride; an id that is neither is refused.

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": {
      "id": "<id>"
    },
    "name": "read_stack"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe link's id, from list_my_links or any tool that made the link.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / id / format
      Removed value: -"uuid"
    • changedInput schema / properties / id / pattern
      Previous value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"New value: +"^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
  2. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"The alarm's id, from list_my_links or any tool that made the alarm."New value: +"The link's id, from list_my_links or any tool that made the link."
  3. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"The alarm's id, from list_my_alarms or any tool that made the alarm."New value: +"The alarm's id, from list_my_links or any tool that made the alarm."
  4. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered and the description's 'it changes nothing' largely restates it. The genuinely additive behavior is the ownership gate: only links the person made or rides are readable, and other ids are refused. Nothing is said about size, pagination, or failure modes beyond that refusal.

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?

The purpose and the return-content inventory are front-loaded, and the ownership/refusal constraint comes last where it belongs. The middle enumeration is long and semi-redundant in places ('what the link knows, in full' then the itemized list), but every element carries information an agent needs since there is no output schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 carries the return-value burden itself and does so thoroughly by listing each component of the stack. It also supplies the access prerequisite and the refusal behavior, leaving nothing an agent needs in order to call this correctly unstated.

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?

There is only one parameter and schema coverage is 100%, including a UUID pattern and a description pointing at list_my_links as the source. The tool description adds only 'by its id' and the sentence about which ids are accepted, which is a small increment over the schema's own guidance.

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?

States a specific verb and resource ('Reads the LFG stack behind one of the person's LFG links, by its id') and then enumerates exactly what 'the stack' contains — interest, plan, research topics, sources with why/when last read, recent changes, and context notes/links. The closing 'Read only: it changes nothing' implicitly separates it from the mutation siblings such as update_stack.

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 clear applicability rule — it works on links the person made and ones they ride, and an id that is neither is refused — plus where the id comes from (list_my_links or any tool that made the link). It does not name an alternative tool or say when to prefer another read path over this one, so it stops short of a 5.

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.