Skip to main content
Glama

Temsor API — Turkey & EU business data

PBX Redact

pbx_redact

Privacy-first erasure (default-on SaaS): clear derived index by id/phone; durable audit who/what/when + tenant scope. ≤30/hour/key → 429. Managed pointer only — not a legal deletion SLA.

E.3 Privacy-first redaction for managed SaaS. mode=anonymize|delete. Lookup by target_id or phone. Clears Person/Promise/Fact/partial index + Temsor audio pointers in your tenant only (no cross-tenant). Durable audit. Raw media stays on your side. Not a legal deletion SLA. List: GET /v1/pbx/redact/audit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
whoNoActor label for durable audit (defaults to pbx scope / demo-operator).
modeNoanonymize (default) scrubs fields; delete removes docs.
phoneNoCaller phone — finds Person phones (+ linked derived index).
reasonNoPersonal-data erasure reason.
target_idNoDocument id (prm_*, per_*, call_*, fact_*).
target_typeNoIndex document type. Optional when `phone` is set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / reason / description
      Previous value: -"KVKK (personal-data) / forget reason."New value: +"Personal-data erasure reason."
  2. Changed2 schema fields changed
    • changedInput schema / properties / phone / description
      Previous value: -"Caller phone — finds Person phones (+ linked Promise text)."New value: +"Caller phone — finds Person phones (+ linked derived index)."
    • addedInput schema / properties / who
      Added value: +{
      +  "description": "Actor label for durable audit (defaults to pbx scope / demo-operator).",
      +  "maxLength": 80,
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / reason / description
      Previous value: -"KVKK / forget reason."New value: +"KVKK (personal-data) / forget reason."
  4. Changed6 schema fields changed
    • addedInput schema / properties / mode
      Added value: +{
      +  "description": "anonymize (default) scrubs fields; delete removes docs.",
      +  "enum": [
      +    "anonymize",
      +    "delete"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / phone
      Added value: +{
      +  "description": "Caller phone — finds Person phones (+ linked Promise text).",
      +  "maxLength": 32,
      +  "minLength": 7,
      +  "type": "string"
      +}
    • addedInput schema / properties / target_id / description
      Added value: +"Document id (prm_*, per_*, call_*, fact_*)."
    • changedInput schema / properties / target_type / description
      Previous value: -"Index document type to forget."New value: +"Index document type. Optional when `phone` is set."
    • changedInput schema / properties / target_type / enum
      Previous value: -[
      -  "promise",
      -  "call",
      -  "person",
      -  "utterance"
      -]New value: +[
      +  "promise",
      +  "call",
      +  "person",
      +  "fact",
      +  "utterance"
      +]
    • removedInput schema / required
      Removed value: -[
      -  "target_type",
      -  "target_id"
      -]
  5. Added

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries real behavioral weight: rate limit (≤30/hour/key → 429), tenant-scoped effects with no cross-tenant impact, raw media staying on the caller's side, durable audit trail, and the caveat that it is not a legal deletion SLA. It does not clarify the return shape or whether the operation is idempotent, but the safety-relevant disclosure is strong.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

'Privacy-first erasure', 'durable audit', and 'not a legal deletion SLA' are each stated twice across the two paragraphs, and the second paragraph largely restates the first. The trailing 'List: GET /v1/pbx/redact/audit' is also meta-information for a sibling tool rather than this one, so the text is longer than it needs to be.

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?

For a destructive mutation with no annotations and no output schema, the description covers scope, rate limits, and audit behavior but omits what the call returns and the key input constraint (target_id or phone required). An agent has enough to be cautious but not enough to predict the response.

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 100%, so the schema already documents mode, target_id, phone, target_type, who, and reason. The description only echoes mode semantics and the target_id/phone lookup, adding no constraint such as the required at-least-one-of selection. Baseline 3 applies when the schema does the heavy lifting.

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+resource (privacy-first erasure / clearing a derived index by id or phone) and names the exact data it touches (Person/Promise/Fact/partial index + audio pointers). It also distinguishes itself from the sibling pbx_redact_audit by pointing to the audit listing route. An agent can identify this as the destructive redaction tool without opening the schema.

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?

Implies usage through 'Lookup by target_id or phone' and mentions the audit endpoint, but never states when to choose this over pbx_redact_audit or other pbx tools, nor does it state the prerequisite that at least one of target_id/phone is needed despite 0 required params. Guidance is inferable but not explicit.

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