Skip to main content
Glama

Semantic code taint analysis report — Atom

Semantic code taint analysis report

semantic_code_taint_analysis_report
Read-onlyIdempotent

Submit a declared code graph (sources, sinks, sanitizers, transforms and directed data-flow edges); get a deterministic taint analysis — every source→sink pair classified tainted (shortest unsanitized path reported), sanitized, or unreachable, with a fixed severity table on sink kind — with verdict TAINTED / CLEAN / INSUFFICIENT_EVIDENCE. Analyses the declared graph only; code is never parsed or fetched.

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

Input Schema

NameRequiredDescriptionDefault
graphNoThe declared code graph: {nodes: [{id, role, kind}], edges: [{from, to}]} — role ∈ source|sink|sanitizer|transform (default transform).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare this as read-only, idempotent, non-destructive, and closed-world. The description adds substantial behavioral detail beyond those annotations: deterministic analysis, shortest unsanitized path reporting, sanitized/unreachable classification, fixed severity by sink kind, and TAINTED/CLEAN/INSUFFICIENT_EVIDENCE verdicts.

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 definition is dense but front-loaded: it states the input and output model in the first sentence and the scope limitation in the second. The punctuation is slightly heavy, but there is little wasted wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter analysis tool with no output schema, the description explains both what the input graph represents and what the analysis returns, including classifications, verdicts, path reporting, and severity behavior. An agent has enough information to select and invoke it correctly.

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

Parameters4/5

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

Schema coverage is 100%, so the graph structure is already documented. The description still adds useful meaning by explaining that nodes represent sources, sinks, sanitizers, and transforms, and that directed edges drive source-to-sink taint analysis.

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?

The description states a specific verb and resource: submit a declared code graph and get a deterministic taint analysis. It also names the exact output classification and verdicts, making the tool's purpose unambiguous even without sibling tools.

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?

Usage is clear: call this when you have a declared graph with sources, sinks, sanitizers, transforms, and data-flow edges. The exclusion that code is never parsed or fetched helps set expectations, though there is no explicit when-not-to-use guidance or named alternative.

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.