Skip to main content
Glama

get_stack_arguments

Reads arguments for stack frames during ARM firmware debugging to inspect function parameters at each call level.

Instructions

Read arguments for stack frames.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_stack_arguments"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, yet "Read" is the only behavioral signal and implies a safe read. It does not reveal scope (all frames vs. current frame), whether a session/target must be paused, what happens when no frames exist, or how results are shaped.

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?

A single six-word sentence, front-loaded with the verb and resource, with no filler. It is efficient but borders on under-specification given the surrounding debug toolset.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a debugger tool with no input parameters and no output schema, the description must explain which frame(s) are read and what state is required. It omits both, leaving the agent unable to predict which frames' arguments will be returned.

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?

There are zero parameters, which is the baseline-4 case; there is no parameter meaning to add. The only residual concern, that a frame-selecting argument is absent, is a scope question rather than a parameter-semantics gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Read arguments for stack frames" gives a specific verb (read) and resource (stack frame arguments), so the basic intent is clear. However, it never says which frames are covered, and it does not differentiate itself from siblings like get_local_variables, get_register_values, or get_backtrace that operate on the same stopped-target state.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description contains no when-to-use guidance, no prerequisites (e.g. a stopped target or active debug session), and no mention of alternatives. An agent must infer entirely from the name when this is preferable to get_local_variables or get_backtrace.

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