Skip to main content
Glama

FaultKey · CausalLayer

simulate_remediation

Counterfactual remediation simulator. Given a certificate's verdict + fourFactorScoring + agents and a list of remediation IDs from the FK-METHOD-2026-003 catalog, return the apportioned shares each remediation would have produced (in isolation) and the composite shares if they all stack. Every remediation cites a specific statute or standard. GET /api/v2/remediation/catalog for the list of IDs. Cost: 1 credit (same price as verify_certificate). Pure deterministic; same inputs produce a byte-identical result.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agentsYesAgent registry (id + type) so the simulator can map remediation targetType to specific party ids.
verdictYesThe verdict block from the CausalCertificate.
remediationsYesList of remediation IDs from the catalog (e.g. vendor_adversarial_eval_suite, deployer_human_in_loop). Each may optionally pin appliedToParty to a specific agent id.
fourFactorScoringYesThe fourFactorScoring block from the CausalCertificate.

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the transparency burden. It discloses determinism ("Pure deterministic; same inputs produce a byte-identical result"), cost (1 credit), and points to the catalog endpoint. However, it does not explicitly state whether the operation has side effects, requires special permissions, or what the exact response structure is. The deterministic and cost details add value, but the absence of side-effect or permission disclosure is a gap.

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 description is four sentences, all informative: purpose, inputs/outputs, catalog reference, and cost/determinism details. It is front-loaded with the main purpose and each sentence adds distinct value; however, it is slightly longer than strictly necessary, earning a 4 rather than 5.

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

Completeness4/5

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

For a tool with four nested parameters and no output schema, the description explains the high-level output (apportioned shares individually and in composite) and provides the catalog endpoint. It lacks a detailed output format example or edge-case guidance, but the deterministic and cost information, combined with the clear input/output description, makes it sufficiently complete for an agent to understand when and how to invoke the tool.

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 baseline is 3. The description adds context by grouping parameters ("verdict + fourFactorScoring + agents and a list of remediation IDs") and explaining that remediations come from the FK-METHOD-2026-003 catalog and cite statutes/standards. This complements the schema but does not substantially elevate semantic understanding beyond what the property descriptions already provide.

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 clearly states a specific verb and resource: "Counterfactual remediation simulator" that takes a certificate's verdict, fourFactorScoring, agents, and remediation IDs to return apportioned shares. It distinguishes itself from siblings by focusing on simulating remediation outcomes rather than verification or other functions.

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 description provides clear context for when to use the tool: when needing to simulate counterfactual remediation outcomes from a certificate's verdict and scoring. It also gives a prerequisite (GET /api/v2/remediation/catalog for IDs) and mentions cost parity with verify_certificate, though it does not explicitly name alternatives or exclusions.

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.

TDQS

A4.2/5.0
Disambiguation4/5

Most tools have distinct purposes, but submit_incident and submit_otel_trace both create certificates from different input sources, and verify_certificate and verify_certificate_recompute both verify but via different methods. Descriptions and input types make them distinguishable, so ambiguity is low.

Naming Consistency4/5

All names use snake_case and generally follow a verb_noun pattern (e.g., submit_incident, verify_certificate). Deviations like verify_certificate_recompute (verb_noun_modifier) and evaluate_prospective_response (verb_adjective_noun) are minor and remain predictable.

Tool Count5/5

10 tools is well within the ideal 3-15 range and maps cleanly to the domain: incident submission, text extraction, pre-response gating, certificate verification, remediation simulation, jurisdiction analysis, and issuer/anchor metadata queries. Each tool serves a distinct workflow step without redundancy.

Completeness4/5

The core lifecycle (extract → submit → verify → analyze) is well covered. However, several tools reference external catalog endpoints (e.g., /jurisdiction/catalog, /remediation/catalog, /gate/thresholds) that are not exposed as MCP tools, forcing an agent to make separate HTTP calls to use these tools effectively. This is a minor workaround, not a critical gap.