Skip to main content
Glama

1hlabs_shadow_fhe_blind_route_attestation

[1HLabs FHE Blind Routing & B2A Commerce Attestation Gateway (#82)] Evaluates blinded financial policy hashes and selects suggested routing between Bitcoin Lightning L402 (Patrol / Streaming) and Solana SPL-USDC (Strike / Client-Side PDA Template) without exposing master balances under Model A Non-Custodial B2B SaaS.

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": {
      "blinded_policy_hash": "<blinded_policy_hash>"
    },
    "name": "1hlabs_shadow_fhe_blind_route_attestation"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNoDry-Run Software Simulation mode. When true, returns locked preview quote with settlement_token without committing funds.
intent_categoryNoOperational phase: continuous patrol vs. atomic settlement strikePATROL_STREAMING
settlement_tokenNoOptional dry-run settlement token (tok_dry_...) to redeem a previously locked preview quote.
blinded_policy_hashYesSHA-256 hash of the client confidential financial spending limit or encrypted threshold
estimated_ticket_bandNoEconomic ticket scale determining gas and client-side template parametersMICRO_BELOW_1USD
client_public_identityNoPublic DID, agent label, or treasury identity for attestation binding

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / dry_run / description
      Previous value: -"Zero-risk simulation mode. When true, returns locked preview quote with settlement_token without committing funds."New value: +"Dry-Run Software Simulation mode. When true, returns locked preview quote with settlement_token without committing funds."
    • changedInput schema / properties / estimated_ticket_band / description
      Previous value: -"Economic ticket scale determining gas and conditional escrow requirements"New value: +"Economic ticket scale determining gas and client-side template parameters"
  2. Changed2 schema fields changed
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "default": false,
      +  "description": "Zero-risk simulation mode. When true, returns locked preview quote with settlement_token without committing funds.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / settlement_token
      Added value: +{
      +  "description": "Optional dry-run settlement token (tok_dry_...) to redeem a previously locked preview quote.",
      +  "type": "string"
      +}
  3. Added

TDQS

B3/5.0
Behavior2/5

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

No annotations are supplied, so the description must disclose behavior. It says balances are not exposed and the model is non-custodial, but it does not clarify whether the tool moves funds, what 'attestation' returns, required auth, or side effects of using settlement_token/dry_run; that is a major gap for a settlement-adjacent tool.

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

Conciseness3/5

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

The definition is a single dense sentence, so it is compact, but it is overloaded with undefined acronyms (FHE, B2A, L402, SPL-USDC, PDA) and a redundant gateway label. It front-loads the tool category, yet the structure makes the actual invocation purpose hard to parse.

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?

For a six-parameter, settlement-adjacent tool with no annotations and no output schema, the description does not explain return values, attestation output, or the dry-run/settlement-token lifecycle. It gives the high-level purpose and privacy model but leaves too much operational context unstated.

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 coverage is 100%, so the schema already documents all six parameters and enums. The description reinforces blinded_policy_hash and the routing choice but does not add syntax, constraints, or meaning for dry_run, settlement_token, or client_public_identity beyond what the schema provides.

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 gives a specific verb-and-resource ('Evaluates blinded financial policy hashes and selects suggested routing') and names the two routing destinations (Bitcoin Lightning L402 and Solana SPL-USDC). It is jargon-heavy and does not explicitly distinguish itself from sibling gateway/scaffold tools, so it is clear but not fully sibling-routed.

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?

Usage is implied by the routing/selection purpose and the non-custodial B2B SaaS context, but there is no explicit when-to-use, when-not-to-use, or named alternative tool. The agent must infer that this is the policy-hash evaluation step rather than the actual checkout/gateway call.

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