Skip to main content
Glama

extract

Copies a planned subset of source data to a target with in-memory anonymization for safe staging, keeping the source read-only and never returning row values.

Instructions

Copy a planned subset from source to target with in-memory anonymization. Read-only on source. Never returns row values.

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": "<table>",
      "ids": "<ids>"
    },
    "name": "extract"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesPrimary-key values for the root row
tableYes
maxRowsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false but destructiveHint=false, and the description usefully clarifies that the source is untouched and that anonymization happens in-memory, plus that no row values are ever returned (a privacy-relevant guarantee). It stops short of covering idempotency, what happens to pre-existing target data, or expected failure modes.

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?

Three terse sentences, front-loaded with the core action, followed by the two safety-relevant facts. Every sentence earns its place with no filler.

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

Completeness3/5

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

Given it is a write tool with no output schema, the description covers the anonymization guarantee and source safety well. It leaves notable gaps around target-side semantics (overwrite vs append), the meaning of maxRows, and whether the operation is repeatable.

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

Parameters2/5

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

Schema coverage is only 33% – only 'ids' is documented in the schema, while 'table' and 'maxRows' carry no explanation anywhere. The description mentions no parameters at all, so it does not compensate for the coverage gap (e.g., what maxRows bounds: source rows read or rows written).

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 description states a specific verb and resource chain: copy a planned subset from source to target with in-memory anonymization. The phrase 'planned subset' implicitly scopes it apart from plan_subset/set_rules, though it never names a sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Copy a planned subset' implies a plan must already exist (i.e., use plan_subset first), which is useful implied sequencing. However, there is no explicit when-to-use/when-not guidance, no mention of prerequisites like target selection, and no statement about repeat runs or conflicts.

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

Deploy Server

Other Tools