Skip to main content
Glama
xlsx-for-ai

xlsx-for-ai

by senoff

xlsx_pii_job_status

Read-only

Retrieve name and address findings from a deferred PII scan by its ner_job_id to check scan results without rerunning it.

Instructions

Use this when you need the name and address findings of a deferred xlsx_pii_scan, by its ner_job_id.

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": {
      "ner_job_id": "<ner_job_id>"
    },
    "name": "xlsx_pii_job_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
ner_job_idYesThe ner_job_id a deferred xlsx_pii_scan returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.3.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=false, so the safety profile is covered. The description adds that the payload is name and address findings from a deferred job, but says nothing about behavior when the job is still pending, unknown, or expired — a meaningful gap for a job-status-style call.

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, front-loaded with the use case and ending with the required key. It is tight, though 'Use this when you need' is slightly padded relative to a direct 'Returns X by ner_job_id' phrasing.

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?

The tool is simple (one required param, read-only), so the description covers the essentials. However, with no output schema, the shape of the 'name and address findings' (per-sheet locations, counts, empty-result behavior) is left undefined, which the description could have sketched.

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 coverage is 100% and the single ner_job_id parameter is already documented in the schema as the value returned by a deferred xlsx_pii_scan. The description restates that provenance without adding format, lifecycle, or lookup semantics, so the baseline 3 applies.

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 gives a specific verb (retrieve findings) and resource (name and address findings of a deferred xlsx_pii_scan), keyed by ner_job_id. It implicitly separates itself from xlsx_pii_scan by scoping to the deferred/job-id path, though it never names that 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 Guidelines4/5

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

The opening 'Use this when you need...' plus 'of a deferred xlsx_pii_scan' tells an agent the precondition: a prior deferred scan must have returned a ner_job_id. No explicit exclusions or alternative route (e.g. what to call for a non-deferred scan) are stated.

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