Skip to main content
Glama

get_memory_map

Returns flash, RAM, sector layout, and reserved regions for a target MCU so you can plan memory usage and avoid conflicts.

Instructions

Return flash, RAM, sector layout, and reserved regions for a target MCU.

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": {
      "target_name": "<target_name>"
    },
    "name": "get_memory_map"
  }
}

Input Schema

NameRequiredDescriptionDefault
target_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

C2.7/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 behavioral burden. It implies a read-only descriptive query by saying 'Return ... for a target MCU,' but never confirms it is non-mutating, whether it requires a connected target, or what happens if target_name is unknown. For a zero-annotation tool, that is a substantial gap.

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?

One tight sentence with the resource front-loaded and zero filler; every word earns its place. It is efficient but offers no structure for the multiple return categories it lists.

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?

With no annotations, no output schema, and 0% parameter coverage, the description should at least explain the required target_name and any session prerequisites. It enumerates return categories, which helps, but leaves the key input and invocation conditions undocumented.

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

Parameters2/5

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

Schema description coverage is 0% and the single required parameter target_name is never mentioned in the description. It is unclear whether target_name is an MCU part identifier, a session target label, or a configuration name, so the description adds no meaning beyond the bare schema.

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

Purpose4/5

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

States a specific verb ('Return') and resource (memory map) and enumerates the contents: flash, RAM, sector layout, reserved regions. This is distinguishable from read_memory (reads bytes) and inspect_memory_usage (usage stats), though the description never explicitly contrasts them.

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?

There is no when-to-use guidance, no prerequisite (e.g., must a debug session be attached?), and no mention of alternatives such as inspect_memory_usage when the agent actually wants consumption rather than layout. The agent must infer the occasion for this call entirely.

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