Skip to main content
Glama
openl-tablets

OpenL MCP Server

Official

Inspect Stack Frame

openl_inspect_trace_frame
Read-only

Read the full state of a suspended stack frame: inputs, runtime context, result, sub-steps, and decision rule with condition evaluations. Filter neutral steps or request highlights to surface the anomaly.

Instructions

Freeze and read the full state of one suspended stack frame: input parameters, runtime context, result (for a completed frame), sub-steps with computed values, and for a decision table the killer feature — 'decision' (which rule fired and how each condition evaluated per rule) plus 'ruleNames' (all rules, for per-rule breakpoints). Values may come lazy (lazy: true + parameterId) — expand with openl_get_trace_value. By default the response is trimmed (no value JSON schemas); full: true lifts the trim. To surface an anomaly among many neutral factors, filter the steps: onlyExecutedSteps drops not-yet-computed ones, and excludeStepValues drops steps whose value is a neutral constant (e.g. [1] in rating) — lazy step values are resolved before the comparison, so a neutral factor that came lazy is dropped too. withHighlights: true additionally returns the A1-keyed cell highlight overlay and the raw table grid to merge it with. Valid only while suspended (a terminal session answers 409 — read its final state from the last returned stack).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fullNoReturn the complete untrimmed response, including value JSON schemas (default false — trimmed via ?fields to save tokens).
projectIdYesProject ID returned by backend. Use the exact 'projectId' value from openl_list_projects() response without modification or reformatting.
frameIndexYesStack frame index from the frames[] of the last stack response (0 = root, highest = current).
withHighlightsNoAlso return the frame's cell-highlight overlay (A1-keyed) plus the raw table grid to merge it with (default false).
response_formatNoResponse format: 'json' for structured, round-trippable data (default), 'markdown' for human-readable output, 'markdown_concise' for a brief summary (1-2 paragraphs), or 'markdown_detailed' for full details with contextjson
excludeStepValuesNoDrop executed steps whose scalar value equals one of these — to hide neutral factors and surface the outlier (e.g. [1] in rating, where a factor of 1.0 means 'no effect'). Lazy step values are resolved before the comparison, so a neutral factor that came lazy is dropped too. Do not use for tables where those values are meaningful.
onlyExecutedStepsNoKeep only executed steps (drop pending/current-without-value) so the response is just the computed factors (default false).
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, the description discloses substantial behavior: the response is trimmed by default and full: true lifts the trim; lazy values may need expansion; excludeStepValues resolves lazy values before comparison so neutral lazy factors are dropped; withHighlights returns an A1-keyed overlay plus raw grid; and a terminal session answers 409. There is no contradiction with the annotations — 'read' aligns with readOnlyHint=true, and openWorldHint aligns with the caveat that the world may have moved on.

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 single dense paragraph is information-rich with no filler — every clause covers a distinct behavior (frame contents, laziness, trimming, filters, highlights, 409 semantics). The core purpose is front-loaded and the terminal-session caveat is placed at the end. At roughly 180 words for a tool with 7 params and decision-table complexity it is appropriately sized, though the wall-of-text structure with nested parentheticals could be more scannable.

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 burden of explaining return values — and it does, enumerating input parameters, runtime context, result, sub-steps, decision, ruleNames, and the optional highlight overlay. It covers preconditions (suspended only), error semantics (409), parameter behaviors, and the openl_get_trace_value handoff for lazy values. Nothing an agent needs to call this tool correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, and the description genuinely adds meaning beyond the schema: it explains the 'why' of the filters (surfacing an anomaly), the interplay between onlyExecutedSteps and excludeStepValues, and the lazy-value resolution behavior before neutral comparison. It also frames the decision/ruleNames output as the 'killer feature' for per-rule breakpoints, giving purpose beyond the schema's bare property definitions.

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?

The description names a specific verb and resource — 'Freeze and read the full state of one suspended stack frame' — and enumerates exactly what that state contains (input parameters, runtime context, result, sub-steps with computed values, decision/ruleNames). It clearly distinguishes itself from siblings like openl_get_trace_value (lazy expansion) and other trace tools. An agent can tell exactly what this tool returns without opening the schema.

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?

The description gives an explicit precondition and exclusion: 'Valid only while suspended (a terminal session answers 409 — read its final state from the last returned stack)' tells the agent when not to call and what to do instead. It also routes lazy-value expansion to openl_get_trace_value and explains when the step filters are warranted (surfacing an anomaly among neutral factors). It stops short of contrasting with every related trace sibling (e.g., openl_expand_trace_tree, openl_watch_trace_cells), so the guidance is strong but not exhaustive.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/openl-tablets/openl-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server