Skip to main content
Glama

Symbolize a Flutter stack trace

symbolize
Read-only

Converts obfuscated Flutter release stack traces into readable file:line frames by running flutter symbolize locally with the matching debug symbols file.

Instructions

Turns an obfuscated Flutter release stack trace (frames like "#00 abs 0000… virt …") into file:line frames by running flutter symbolize locally. Give either a report id (its obfuscated stack traces are used, or only event #index) or a stack_trace, plus the symbols file from --split-debug-info of the same build. Needs Flutter installed.

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": {
      "debug_info_path": "<debug_info_path>"
    },
    "name": "symbolize"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoReport id as shown by open_report (or the full report link).
indexNoOnly the log event #n of the report.
stack_traceNoA stack trace to symbolize instead of a report.
debug_info_pathYesPath to app.<platform>-<arch>.symbols (or to the --split-debug-info folder when it holds only one).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

A4.2/5.0
Behavior3/5

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

Annotations only declare readOnlyHint, and the description adds real value by disclosing that the work happens locally via `flutter symbolize` and that Flutter must be installed. However, it doesn't cover failure behavior — notably what happens when the symbols file is from a different build than the trace — which is the main risk for this tool.

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?

Two sentences, front-loaded with the core transformation, then inputs and prerequisites. Every clause carries information: frame pattern, alternative inputs, symbol source, and the Flutter dependency.

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?

No output schema exists, but the description states the output form (file:line frames) and covers inputs, prerequisites, and the report/index relationship. The remaining gap is error/mismatch behavior, which matters for a tool whose correctness hinges on symbol-build alignment.

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 baseline is 3, but the description adds semantics the schema doesn't encode: the either/or relationship between id and stack_trace, and the constraint that debug_info_path must come from the same build's `--split-debug-info`. That mutual-exclusivity and build-matching context is genuinely beyond the schema.

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: turns obfuscated Flutter release stack traces into file:line frames via `flutter symbolize`. The frame pattern example ('#00 abs 0000… virt …') lets an agent recognize the exact input it applies to, which no sibling tool does.

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?

Explains the two input modes (report id with optional event #index, or a raw stack_trace) and names open_report as the source of the id, which is clear context. It stops short of stating when not to use it (e.g., already-symbolized traces) or what to do if symbols are missing.

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