Skip to main content
Glama

Audit paymaster sponsorship

account-abstraction_paymaster-sponsorship-audit
Read-onlyIdempotent

Compare ERC-4337 UserOperations with a caller-supplied Paymaster sponsorship policy. Docs: https://www.brainiac.software/api/account-abstraction/paymaster-sponsorship-audit Keywords: before you sponsor or submit a user operation, audit status, audit_status, risk level, risk_level, policy violations, policy_violations, gas limit analysis, gas_limit_analysis, target analysis, target_analysis, paymaster data analysis, paymaster_data_analysis, findings, Audit paymaster sponsorship.

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": "account-abstraction_paymaster-sponsorship-audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
policyNopolicy, object. Optional.
chainIdNochainId, integer. Optional.
aggregateNoaggregate, object. Optional.
paymasterNopaymaster, string. Optional.
userOperationsNouserOperations, array. Optional.
entryPointVersionNoentryPointVersion, string. Optional.
paymasterDataFormatNopaymasterDataFormat, string. Optional.

Output Schema

NameRequiredDescriptionDefault
findingsNofindings. Array.
risk_levelNorisk_level. String.
limitationsNolimitations. Array.
audit_statusNoaudit_status. String.
target_analysisNotarget_analysis. Array.
policy_violationsNopolicy_violations. Array.
gas_limit_analysisNogas_limit_analysis. Array.
paymaster_data_analysisNopaymaster_data_analysis. Array.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / limitations / items / description
      Previous value: -"Item. String."New value: +"item. String."
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds a little by naming the analysis facets the audit covers (gas_limit_analysis, target_analysis, paymaster_data_analysis, risk_level, policy_violations), but it never states what comparison logic is applied, whether a policy must be supplied for meaningful results, or anything about auth or limits; the hints appear only as keyword tokens rather than explanation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single substantive sentence is well front-loaded, but the second half is a long keyword list ('audit_status, risk_level, policy_violations, gas_limit_analysis, ...') plus a repeated title, which is SEO padding rather than information and actively obscures the one useful usage cue embedded in it.

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

Completeness2/5

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

This is a complex, domain-specific tool with 7 optional parameters including nested objects (policy, aggregate), yet the description never explains what a sponsorship policy object must contain or how policy interacts with userOperations, chainId and paymaster. An output schema exists so return values need not be described, and the docs URL is a partial mitigation, but an agent could not construct a meaningful call from this definition alone.

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% across all 7 parameters, so the baseline of 3 applies; the description itself contributes nothing to parameter meaning. That baseline is weak in substance here because the schema descriptions are tautological placeholders ('policy, object. Optional.'), and domain-specific fields such as entryPointVersion and paymasterDataFormat remain unexplained in both places, forcing the agent to infer their accepted values.

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 opening sentence names a specific verb ('Compare') and specific resources ('ERC-4337 UserOperations' against a 'caller-supplied Paymaster sponsorship policy'), which is far more informative than the title alone. It does not differentiate itself from the sibling tools account-abstraction_sponsorship-risk or account-abstraction_user-operation-audit, so an agent must infer that this one is policy-driven rather than a general risk or validity check.

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?

A usable trigger is present ('before you sponsor or submit a user operation'), which tells the agent the pre-submission timing. However, it is buried inside a comma-separated keyword dump rather than stated as guidance, and no when-not conditions or explicit alternative tools are named, leaving sibling selection to inference.

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.

Resources