Skip to main content
Glama

Remove empty rows

remove_empty_rows
DestructiveIdempotent

Remove empty rows from one lane, or from every lane when laneId is omitted. Keeps at least one row per lane (if every row is empty, keeps the first). Never moves items between rows. Returns { removed, perLane }. Needs read-and-change access.

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": {
      "roadmapId": "<roadmapId>"
    },
    "name": "remove_empty_rows"
  }
}

Input Schema

NameRequiredDescriptionDefault
laneIdNoLane id from get_roadmap (optional; omit to compact every lane)
roadmapIdYesRoadmap id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important behavioral details: it preserves at least one row per lane (keeping the first if all are empty), never moves items between rows, returns { removed, perLane }, and requires read-and-change access. These specifics go well beyond the destructive and idempotent hints supplied by annotations.

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?

Four short sentences are front-loaded with purpose and scope, then edge-case rules, return shape, and access requirement. Every sentence carries useful information with no redundancy.

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

Completeness5/5

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

For a two-parameter mutation tool with no output schema, the description covers scope, preservation rules, item-movement behavior, return shape, and permission needs. Nothing material is missing for an agent to call it correctly.

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?

With 100% schema description coverage, the schema already documents both parameters, including laneId's optional nature and omission behavior. The description restates the lane scope but adds no new parameter-level syntax or semantics, so the baseline 3 is appropriate.

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?

The description states a specific verb ('Remove') and resource ('empty rows'), and clearly defines the scope: one lane, or every lane when laneId is omitted. This distinguishes it from generic row deletion tools like delete_row, which removes a specified row rather than compacting empty rows.

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 clear contextual guidance for the optional laneId: omit it to compact every lane. However, it does not explicitly name an alternative tool or state when to use this versus delete_row, so it falls short of full when/when-not/alternatives guidance.

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