Skip to main content
Glama
lgpd-mask-mcp

lgpd-mask-mcp

sample_safe

Return a limited number of table rows while masking PII columns, so agents can inspect sample data without exposing sensitive values.

Instructions

Return up to N rows from a table with PII columns masked.

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>"
    },
    "name": "sample_safe"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
tableYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden, and it does contribute one meaningful behavioral fact: PII columns are masked on return. It says nothing about the limit's default or maximum, whether the table must already be known, error behavior for unknown tables, or whether masking is always applied or configurable.

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?

One sentence with zero filler and the key qualifier (masking) placed where it will be read. Brevity here edges toward under-specification rather than verbosity, which is why it is not a 5.

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

Completeness2/5

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

Two undocumented parameters, no annotations, and no output schema mean the description should explain return shape and limit behavior, and it does not. For a tool whose safety-relevant trait is PII masking, the definition leaves too much for the agent to infer before calling it.

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 description coverage is 0%, so the description must compensate, and it partially does: it identifies limit as a maximum row count ("up to N rows") and table as the source table. It omits default value, upper bound for N, and the expected table identifier format, so half the semantic load is still missing.

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 names a specific verb and resource ("Return up to N rows from a table") and adds a scope qualifier (PII columns masked), so the operation is identifiable. It does not distinguish itself from siblings such as query_masked, leaving the agent to guess which read tool to pick.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no mention of preconditions like needing a table that exists, and no routing hint toward any alternative. The agent must infer usage purely from the one-line statement of effect.

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