Skip to main content
Glama
nohosa001-pixel

security-gate-x402

audit_and_sign_exploit_indemnity

Investigate on-chain exploit transactions to verify unauthorized wallet loss and sign an EIP-712 ExploitClaimVerdict for AgenticShieldPool.sol indemnity claims.

Instructions

Deterministic forensic loss investigation and EIP-712 ExploitClaimVerdict signing for AgenticShieldPool.sol. Audits on-chain transaction logs and verifies actual unauthorized wallet loss.

Input Schema

NameRequiredDescriptionDefault
categoryNoExploitCategory (0: AST, 1: DLP, 2: Bound Breach, 3: Corrupted Oracle)
agentSafeYesCompromised agent Safe{Wallet} address
exploitedTxHashYesTransaction hash of the incident
attestationNonceYesSafetyAttestation nonce previously approved by SecurityGate
authorizedMaxSpendYesAuthorized max spend from attestation (units, 6 decimals)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.4

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose useful traits: the investigation is 'deterministic' and it 'audits on-chain transaction logs' to 'verify actual unauthorized wallet loss' rather than rubber-stamping, and it signs an EIP-712 verdict. However, it omits whether the signature is submitted on-chain, permission/auth requirements, and any failure or rejection behavior for a signing operation.

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?

Two dense sentences with the purpose front-loaded and no filler. It is efficient, though the heavy domain jargon ('EIP-712 ExploitClaimVerdict', 'AgenticShieldPool.sol') requires prior context.

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 signing/mutation tool with no annotations and no output schema, the definition is domain-accurate but thin. It doesn't describe the verdict result, what happens after signing, or how the four required parameters interlock, leaving real gaps for an agent invoking it correctly.

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 the schema already documents the category enum values, agentSafe, exploitedTxHash, attestationNonce, and authorizedMaxSpend. The description adds no parameter-level meaning beyond that (e.g., units, formatting, or relationship between nonce and attestation). Baseline 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 names specific verbs (audit, sign) and precise resources (forensic loss investigation, EIP-712 ExploitClaimVerdict, AgenticShieldPool.sol, on-chain transaction logs). It is far more specific than a sibling like inspect_code_ast_safety, though it never explicitly names a sibling it complements or supersedes. An agent can identify the domain, but the dual 'audit + sign' nature isn't resolved into one clear outcome.

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 phrase 'verifies actual unauthorized wallet loss' implies the tool is for loss-claim adjudication, but the agent must infer the triggering conditions entirely. No mention of prerequisites such as a prior SecurityGate attestation flow.

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