Skip to main content
Glama
magna-nz

ASPNET Core Debugging MCP Server

variables_get

Get variables from a stack frame during debugging, with options to expand nested values and limit children per level.

Instructions

Get variables for a stack frame. Defaults to the topmost frame of the last-stopped thread. Recursively expands compound values up to depth levels and truncates each level at maxChildren.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
frameIdNoFrame id from stacktrace_get. Defaults to the topmost frame of the last-stopped thread.
depthNoRecursive expansion depth. 1 = just the top-level variables (default). 2 = expand one level into compound types. Higher = deeper.
maxChildrenNoMaximum children to return at each level. Default 50.
Behavior5/5

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

No annotations provided, but description fully discloses behavior: recursive expansion up to depth levels and truncation at maxChildren. Also mentions defaults for all parameters and frameId context.

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 concise sentences with no fluff. Every word is informative: defaults, behavior, parameters all covered efficiently.

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?

Covers input behavior well given no output schema. Could mention return format implications (e.g., structured variables) but not a critical gap for agent usage.

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?

Input schema covers 100% of parameters with individual descriptions. Description adds value by summarizing expansion and truncation behavior, giving context beyond 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?

Description clearly states 'Get variables for a stack frame' with specific verb and resource. Distinguishes from siblings like variables_set (set) and evaluate (expression evaluation) by focusing on reading stack variables.

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?

Describes default behavior (topmost frame, last-stopped thread) and parameters. However, does not explicitly state when not to use or compare with alternatives like evaluate or stack_explore.

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/magna-nz/aspnetcore-debugger-mcp'

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