Skip to main content
Glama
io.github.Medxpert-org/ubic-governance-mcp

io.github.Medxpert-org/ubic-governance-mcp

by Medxpert-org

gov_scan

Scans text for PII, local paths, suspected credentials, key patterns, and missing copyright notices, optionally flagging specified names to support governance and sensitive-text screening.

Instructions

通用治理/PII 扫描:手机号、邮箱、本地路径、疑似凭据、密钥特征串 + 版权指纹缺失提示;可用 names 传指名清单(逗号分隔)

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": "gov_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNo待扫描文本
namesNo可选:指名清单(逗号分隔),命中即告警

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses meaningful behavior: which pattern classes are detected, that the scan is text-based, and that a names-list hit triggers an alert. It does not state what the result looks like, whether it is read-only (implied), or any limits, leaving real gaps for a no-annotation tool.

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?

A single compact sentence front-loads the tool's category and then lists detection targets followed by the optional parameter note. Nothing is wasted, though the dense enumeration of pattern classes makes it slightly harder to parse at a glance.

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 two-parameter, zero-required, no-annotation tool with no output schema, the description covers what gets scanned but says nothing about the shape of results or how findings are reported. That is adequate-but-incomplete: an agent knows what the tool detects but not what it receives back.

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 both parameters are already documented in the schema. The description's note that names is a comma-separated list whose hits raise alerts merely restates the schema text and adds no new syntax or format detail, so the baseline of 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+resource (a governance/PII scan) and enumerates the exact detection targets: phone numbers, emails, local paths, suspected credentials, key-like strings, and missing copyright fingerprints. This is far more specific than a generic 'scan' label, though it never names a sibling tool to differentiate itself from compliance_checklist or audit_evidence_chain.

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 explicit when-to-use, when-not-to-use, or alternative-tool guidance. The enumerated detection categories only weakly imply the appropriate context; an agent must infer that this is the tool for ad-hoc PII/governance text scanning rather than the structured compliance siblings.

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