audit_pipeline_hygiene

Audit the user's OPEN DEALS for data hygiene and return a cleanliness score (0-100) plus the dirty deals ranked by impact (value x severity). Flags: past close date, missing close date, no next step, stalled in stage (beyond config.staleDaysThreshold, default 45), missing amount or stage, and win...

Server StackSwap StonesofCreation/stackswap-mcp
Category Read
Risk class Low
Parameters 21 required

What audit_pipeline_hygiene does on StackSwap

AI agents call audit_pipeline_hygiene to retrieve information from StackSwap without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
deals array Yes Open deals as loose records. Recognized fields (with aliases): amount/value, stage/dealstage, closeDate/closeInDays, daysInStage, nextStep, winProb, account/com
config object Optional tuning.

Parameters from the server's own tool schema.

Why audit_pipeline_hygiene needs a policy

The tool reads and analyzes existing deal records, computing scores and flagging issues without modifying any data. The server explicitly states all tools are read-only. However, it ingests potentially sensitive pipeline/financial data (deal values, stages, win probabilities), so misuse or data exposure warrants medium severity.

From the tool's definition Audit the user's OPEN DEALS for data hygiene and return a cleanliness score (0-100) plus the dirty deals ranked by impact... Operates [read-only per server description: '8 read-only tools']

Questions about audit_pipeline_hygiene

What does the audit_pipeline_hygiene tool do? +

Audit the user's OPEN DEALS for data hygiene and return a cleanliness score (0-100) plus the dirty deals ranked by impact (value x severity). Flags: past close date, missing close date, no next step, stalled in stage (beyond config.staleDaysThreshold, default 45), missing amount or stage, and win%/stage mismatch. Accepts loosely-typed deal records (amount, stage, closeDate, daysInStage, nextStep, winProb normalized). Returns the score, the most common issues, and the worst offenders. This is the data version of the pipeline-coverage-audit motion — run it before trusting a forecast. Operates only on supplied deals. Use when the user asks 'is my pipeline clean', 'audit my deals', or pastes a deal list. It is categorised as a Read tool in the StackSwap MCP Server, which means it retrieves data without modifying state.

What parameters does audit_pipeline_hygiene accept? +

audit_pipeline_hygiene accepts 2 parameters: deals, config. Required: deals. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on audit_pipeline_hygiene? +

Register the StackSwap MCP server in PolicyLayer and add a rule for audit_pipeline_hygiene: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches StackSwap. Nothing to install.

What risk level is audit_pipeline_hygiene? +

audit_pipeline_hygiene is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit audit_pipeline_hygiene? +

Yes. Add a rate_limit block to the audit_pipeline_hygiene rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block audit_pipeline_hygiene completely? +

Set action: deny in the PolicyLayer policy for audit_pipeline_hygiene. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides audit_pipeline_hygiene? +

audit_pipeline_hygiene is provided by the StackSwap MCP server (StonesofCreation/stackswap-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.