Skip to main content
Glama

Decide on a viewer-appended row

set_data_row_status
Destructive

Decide what happens to one row a viewer appended: approve makes it visible to viewers, hold takes it back so only you can see it, delete removes it for good. Rows flagged by moderation land in held, where only you can see them and the page does not show them to viewers — until now there was nothing you could do about such a row. approve and hold are reversible, so a misjudgement can be corrected; delete is not — the row disappears from the page, exports and counts, and only an audit entry records that a row was deleted, never its contents. Get row_id from list_data_rows. Approving also marks that row's moderation hit as a false positive, recorded separately as a publisher release so it is not mixed with operator labelling. Every decision bumps the page's data_revision, because the set of rows the page can show has changed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesapprove = 放行给读者看 · hold = 收回只有你看 · delete = 真删,不可撤销
row_idYes用 list_data_rows 拿到的 row_id
proposal_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond annotations (destructiveHint=true, idempotentHint=false), the description discloses that approve/hold are reversible while delete is not, that delete strips the row from the page, exports and counts with only a content-free audit entry, that approving records a false-positive publisher release, and that every decision bumps data_revision. This is exactly the side-effect and reversibility detail an agent needs before a destructive call.

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?

It is a single dense paragraph but front-loads the core decision semantics before side effects and provenance. A few clauses are padded, notably the 'until now there was nothing you could do about such a row' framing, which adds length without actionable content.

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 mutation tool with no output schema but with safety annotations, the description covers reversibility, side effects, audit behavior and row_id provenance. The one hole is proposal_id, whose origin is documented nowhere an agent can see.

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?

Schema coverage is 67%. The description elaborates the action enum well beyond the schema's short enum strings (per-action reversibility and visibility semantics) and tells where row_id comes from. proposal_id is left unexplained by both schema and description, which is the remaining gap.

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 precise verb+resource: rendering a decision on a single viewer-appended row via three named actions (approve/hold/delete), each defined in a clause. It implicitly scopes itself to viewer-appended rows, distinguishing it from sibling write tools like set_data and from the read-side list_data_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 routes the agent explicitly ('Get row_id from list_data_rows') and gives the effect of each action, which effectively tells the caller which action to choose. It stops short of stating when not to use this tool (e.g., non-viewer rows handled elsewhere) or naming a preferred alternative for those cases.

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