Skip to main content
Glama

Get PII redaction settings

stack_get_pii_config
Read-only

Get the account's PII redaction settings for the LLM gateway: confidence threshold and country scope. An account with no settings gets the built-in defaults with configured=false. Available on every plan. A controls feature: with controls off the API answers 402 CONTROLS_REQUIRED, and the owner switches controls on in the Console, at the Billing page. A self-managed install has every controls feature.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "stack_get_pii_config"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld annotations by disclosing the fallback behavior for unconfigured accounts, the configured=false flag, the exact 402 CONTROLS_REQUIRED failure mode, and where the owner enables controls in the Console. This is precisely the pre-call context an agent needs and is not derivable from the annotations.

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?

Purpose is front-loaded in the first sentence, followed by the unconfigured-account edge case and then the controls gating. Every sentence carries distinct, non-redundant information with no filler.

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?

With no output schema, the description carries the return-shape burden and does name the two returned settings plus configured=false. It stops short of describing the full response envelope, but for a zero-parameter getter with clear annotations this is close to complete.

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 tool takes zero parameters, so the baseline is 4; the description correctly adds nothing spurious about inputs and instead spends its words on output and error semantics.

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?

States a specific verb and resource ("Get the account's PII redaction settings for the LLM gateway") and names the two settings returned (confidence threshold, country scope), which cleanly separates it from the set/reset PII siblings.

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?

Gives rich context on when this applies: it works on every plan, returns defaults with configured=false when nothing is configured, and is gated behind the controls feature. It does not explicitly point at stack_set_pii_config for modification, so the when-to-use-vs-alternative link is implied rather than spelled out.

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.