Skip to main content
Glama
Portward

Portward

by hamzaelsiesy

keep_rows

Enable or disable saving each new query's result rows locally for 30 days, encrypted via the OS keychain, so kept rows can be reviewed later.

Instructions

Turn keeping result rows on or off (off by default). When on, each new pull's rows are kept on this machine, encrypted with a key in the OS keychain, for 30 days; kept_rows shows them.

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": {
      "on": "<on>"
    },
    "name": "keep_rows"
  }
}

Input Schema

NameRequiredDescriptionDefault
onYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well: it discloses local storage, OS-keychain encryption, a 30-day retention window, and the off-by-default state. What it omits is the consequence of switching off (whether existing kept rows are purged) and any permission requirement for writing to the keychain.

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?

One sentence with the action and default front-loaded, followed by the storage/encryption/retention facts and a pointer to kept_rows. Every clause carries information and there is no filler.

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 one-boolean toggle with no output schema and no annotations, the description supplies everything material: default state, where rows are stored, how they are protected, how long they live, and which sibling reads them. A caller can invoke this correctly without consulting anything else.

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?

The single parameter 'on' has no schema description, so the description must compensate; it does by explaining that the flag controls a toggle and that the absence of the setting (default) means off. That adds real meaning beyond the bare boolean title.

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?

"Turn keeping result rows on or off" names a specific action and the resource being toggled, so an agent knows this is a persistence switch rather than a data-retrieval call. It also names kept_rows as the viewer, giving a partial contrast with the sibling that consumes the setting, though it doesn't fully explain how it relates to other row-pulling tools.

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?

The description states the default state (off) and points to kept_rows as the way to view retained data, which is enough context to decide whether to enable it. It does not spell out when an agent should deliberately turn it on or off, nor whether disabling affects already-kept rows.

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