Skip to main content
Glama

Rake

Get the traps of a platform or a bus

get_platform_pitfalls
Read-onlyIdempotent

Returns the traps of one microcontroller family, RTOS, SDK or bus as habits: when something shows up there or before a risky step, what to do, and why. Use it before writing code for a platform or a bus that has not come up in this session, and when a board will not connect, flash or start. Subjects: buses, esp-idf, esp32, freertos, kinetis, nrf-connect, nrf52, pico-sdk, rp2040, samd, stm32, stm32-hal, zephyr. Omit the subject or the topic for the list.

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_platform_pitfalls"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicNoOne topic of the subject. Omit it for the list of topics.
subjectNoThe family, RTOS, SDK or group of buses. Omit it for the list of subjects.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is low. The description goes further by describing the shape of the return: habits containing when something shows up, what to do, and why – valuable because there is no output schema. It does not disclose volume, curation, or freshness of the underlying data.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The paragraph is front-loaded correctly with the return statement before the usage guidance. However, the trailing sentence enumerating all thirteen subjects is pure duplication of the schema enum and consumes roughly a third of the text without adding information.

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?

For a two-optional-parameter read-only lookup with no output schema, the description supplies purpose, when to call it, what the returned records contain, and what happens with no arguments. That is nearly everything an agent needs; only return size or pagination behavior is unaddressed.

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

Parameters3/5

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

Schema coverage is 100% and each parameter already documents the omit-for-list behavior, so the description's mentions of 'Omit the subject or the topic for the list' are largely restatements. The verbatim subject enumeration duplicates an enum the schema already exposes. Baseline 3 applies because the schema does the work and the description adds nothing new about parameter meaning.

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?

The definition opens with a specific verb and resource: 'Returns the traps of one microcontroller family, RTOS, SDK or bus as habits,' then defines what a trap record contains (trigger condition, action, rationale). An agent knows the nature of the payload. It never names a sibling (e.g., check_freertos_config, diagnose_symptom) that could be confused with this one, so the differentiation is implied rather than stated.

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?

It gives explicit triggering conditions: 'before writing code for a platform or a bus that has not come up in this session,' and 'when a board will not connect, flash or start.' It also states the omission behavior for both parameters. There is no explicit when-not guidance or named alternative, which keeps it below a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources