Skip to main content
Glama

Get cells waiting for the agent

get_pending_cells
Read-only

Fetches rows with empty AI-column cells and returns each row's instruction plus full data, so an agent can answer them and save updates. Also reports how many rows remain empty.

Instructions

Fetch rows whose AI column is still empty, each with the column's instruction already filled in from that row ("instruction") plus the full row data. Meerko doesn't run the instructions: the calling agent answers them from the row data and the answers are saved as row updates. "remaining" counts the rows still empty after this batch. A row whose cell holds any value, "N/A" included, isn't returned again.

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": {
      "table_id": "<table_id>",
      "column": "<column>"
    },
    "name": "get_pending_cells"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRows per batch (default 25)
columnYesThe AI column's name or key
filterNo
table_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint/destructiveHint, the description discloses the key behavioral rule that 'a row whose cell holds any value, "N/A" included, isn't returned again', plus the meaning of the 'remaining' counter and the fact that the tool itself performs no instruction execution. These are non-obvious semantics an agent could not infer from the annotations or schema.

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?

Three sentences, front-loaded with the core action and followed by workflow and idempotency rules; nothing is filler. The opening sentence is dense and the nested quoting around "instruction" is slightly awkward, but it does not impede comprehension.

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?

With no output schema, the description carries the burden of explaining returns and does so: it names the 'instruction' field, the full row data, and the 'remaining' count. Combined with the workflow and re-return exclusion rule, an agent has enough to call and interpret results; only the filter parameter remains unexplained.

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 50%: 'limit' and 'column' are documented in the schema and the description reinforces batching ('this batch') and column instructions. However, neither 'table_id' nor the nested free-form 'filter' object is explained anywhere, leaving a meaningful gap in parameter meaning.

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 and resource ('Fetch rows whose AI column is still empty') and adds the exact payload shape ('instruction' plus full row data). This is clearly distinguishable from nearby siblings such as list_pending_emails or list_tables because the resource and the selection condition are both named.

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 explains the operating model: Meerko does not run the instructions, the calling agent answers them from row data, and answers are persisted as row updates. That tells an agent exactly what to do after calling. It stops short of naming alternatives or stating when not to use this tool, so it is clear context without explicit exclusions.

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