Skip to main content
Glama
Automation TCO & Hidden-Tax Studio

Automation TCO & Hidden-Tax Studio

audit_workflow_json

Scrub sensitive workflow JSON with a strict schema whitelist, then inspect n8n or Make files for polling, loops, retries, and hidden subscenarios that drive automation costs.

Instructions

Locally scrub pinData/tokens/prompts/code via strict schema whitelist and inspect an n8n workflow.json or Make blueprint.json for polling taxes, dynamic loops, Break retries, and hidden subscenarios. Note: While this local stdio MCP process makes zero outbound calls, cloud-hosted AI/MCP clients send tool arguments to your LLM provider before invoking this server. For confidential workflows, use the browser-isolated sandbox at https://tco.jhyangstudio.com/audit.html.

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": {
      "workflow_json": "<workflow_json>"
    },
    "name": "audit_workflow_json"
  }
}

Input Schema

NameRequiredDescriptionDefault
monthly_runsNo
workflow_jsonYes
avg_loop_itemsNo
strict_business_ip_redactNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does valuable work: it discloses local scrubbing of sensitive fields, zero outbound calls for the local stdio process, and the caveat that cloud-hosted clients send arguments to an LLM provider. It still does not state whether the tool is read-only, whether it modifies the input workflow, or what output it produces.

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?

The purpose is front-loaded and the privacy caveat is important, but the first sentence is dense and packs multiple auditing concepts together. Overall it is efficient, with little wasted wording despite the jargon-heavy 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 description covers the audit scope and privacy posture well, but for a four-parameter tool with no schema descriptions and no output schema, it omits key parameter meanings and return behavior. It is adequate but has clear gaps for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must explain all four parameters. It identifies workflow_json as an n8n workflow or Make blueprint to inspect, but leaves monthly_runs, avg_loop_items, and strict_business_ip_redact largely unexplained.

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 clearly states a specific verb and resource: scrub locally and inspect an n8n workflow.json or Make blueprint.json for cost/loop/retry issues. It does not explicitly distinguish this from sibling tools like estimate_automation_tco or get_pricing_changelog, so it falls short of a 5.

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?

It gives implied usage for auditing n8n/Make workflow files and explicitly directs confidential workflows to an external browser sandbox. However, it does not say when to choose this tool instead of its siblings or clarify non-confidential functional alternatives.

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