Skip to main content
Glama

assetfare_v2_session_refresh_action

Idempotent

Refresh an expired action only while it remains unsubmitted. Example: pass the existing session, a new idempotency key, and the original verification_context. The refreshed action is deeply verified and receives a wallet handoff. Never refresh a submitted step; AssetFare never signs or submits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesV2 workflow session UUID returned by assetfare_v2_session_create. Use only with assetfare_v2_session_* tools; do not pass a legacy session ID.
session_tokenYesSensitive caller-generated v2 session capability: at least 32 CSPRNG bytes encoded as 43-128 URL-safe base64 characters. Generate it locally; never log it or substitute a private key or legacy access token.
idempotency_keyYesCaller-generated retry key, 8-128 characters. Reuse it only when retrying the same logical mutation; choose a new key for a new operation. Strict approval_v3 requests additionally enforce its ASCII key pattern.
verification_contextYesStrict caller-held context copied from the selected quote and approval. It contains public intent/wallet data only, never the raw session token or a private key, and is required whenever a remote MCP session call can return current_action.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
signedYes
statusYes
submittedYes
session_idYes
quote_bindingYes
current_actionYes
server_signingYes
action_availableYes
server_submissionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedInput schema / properties / verification_context / properties / direct_route_summary / properties / from / enum
      Previous value: -[
      -  "solana:SOL",
      -  "solana:USDC",
      -  "solana:USDG",
      -  "base:ETH",
      -  "base:USDC",
      -  "arbitrum:ETH",
      -  "arbitrum:USDC",
      -  "robinhood:ETH",
      -  "robinhood:USDG",
      -  "polygon:USDC",
      -  "optimism:USDC",
      -  "ethereum:USDC",
      -  "hyperevm:USDC",
      -  "xlayer:USDC",
      -  "sei:USDC",
      -  "sonic:USDC"
      -]New value: +[
      +  "solana:SOL",
      +  "solana:USDC",
      +  "solana:USDG",
      +  "base:ETH",
      +  "base:USDC",
      +  "arbitrum:ETH",
      +  "arbitrum:USDC",
      +  "robinhood:ETH",
      +  "robinhood:USDG",
      +  "polygon:USDC",
      +  "optimism:USDC",
      +  "ethereum:USDC",
      +  "hyperevm:USDC",
      +  "xlayer:USDC",
      +  "sei:USDC",
      +  "sonic:USDC",
      +  "monad:USDC",
      +  "avalanche:USDC",
      +  "cronos:USDC",
      +  "injective:USDC",
      +  "linea:USDC",
      +  "aptos:USDC"
      +]
    • changedInput schema / properties / verification_context / properties / direct_route_summary / properties / mode / enum
      Previous value: -[
      -  "cctp_direct_composition",
      -  "optimism_source_cctp",
      -  "polygon_source_cctp",
      -  "robinhood_across_ingress_composition",
      -  "robinhood_paxos_egress_composition",
      -  "robinhood_paxos_ingress_composition",
      -  "same_chain_direct",
      -  "same_chain_direct_composition"
      -]New value: +[
      +  "aptos_move_cctp_direct",
      +  "cctp_direct_composition",
      +  "optimism_source_cctp",
      +  "polygon_source_cctp",
      +  "robinhood_across_ingress_composition",
      +  "robinhood_paxos_egress_composition",
      +  "robinhood_paxos_ingress_composition",
      +  "same_chain_direct",
      +  "same_chain_direct_composition"
      +]
    • changedInput schema / properties / verification_context / properties / direct_route_summary / properties / route / enum
      Previous value: -[
      -  "solana:SOL->solana:USDC",
      -  "solana:SOL->solana:USDG",
      -  "solana:SOL->base:ETH",
      -  "solana:SOL->base:USDC",
      -  "solana:SOL->arbitrum:ETH",
      -  "solana:SOL->arbitrum:USDC",
      -  "solana:SOL->robinhood:ETH",
      -  "solana:SOL->robinhood:USDG",
      -  "solana:USDC->solana:SOL",
      -  "solana:USDC->solana:USDG",
      -  "solana:USDC->base:ETH",
      -  "solana:USDC->base:USDC",
      -  "solana:USDC->arbitrum:ETH",
      -  "solana:USDC->arbitrum:USDC",
      -  "solana:USDC->robinhood:ETH",
      -  "solana:USDC->robinhood:USDG",
      -  "solana:USDG->solana:SOL",
      -  "solana:USDG->solana:USDC",
      -  "solana:USDG->base:ETH",
      -  "solana:USDG->base:USDC",
      -  "solana:USDG->arbitrum:ETH",
      -  "solana:USDG->arbitrum:USDC",
      -  "solana:USDG->robinhood:ETH",
      -  "solana:USDG->robinhood:USDG",
      -  "base:ETH->solana:SOL",
      -  "base:ETH->solana:USDC",
      -  "base:ETH->solana:USDG",
      -  "base:ETH->base:USDC",
      -  "base:ETH->arbitrum:ETH",
      -  "base:ETH->arbitrum:USDC",
      -  "base:ETH->robinhood:ETH",
      -  "base:ETH->robinhood:USDG",
      -  "base:USDC->solana:SOL",
      -  "base:USDC->solana:USDC",
      -  "base:USDC->solana:USDG",
      -  "base:USDC->base:ETH",
      -  "base:USDC->arbitrum:ETH",
      -  "base:USDC->arbitrum:USDC",
      -  "base:USDC->robinhood:ETH",
      -  "base:USDC->robinhood:USDG",
      -  "arbitrum:ETH->solana:SOL",
      -  "arbitrum:ETH->solana:USDC",
      -  "arbitrum:ETH->solana:USDG",
      -  "arbitrum:ETH->base:ETH",
      -  "arbitrum:ETH->base:USDC",
      -  "arbitrum:ETH->arbitrum:USDC",
      -  "arbitrum:ETH->robinhood:ETH",
      -  "arbitrum:ETH->robinhood:USDG",
      -  "arbitrum:USDC->solana:SOL",
      -  "arbitrum:USDC->solana:USDC",
      -  "arbitrum:USDC->solana:USDG",
      -  "arbitrum:USDC->base:ETH",
      -  "arbitrum:USDC->base:USDC",
      -  "arbitrum:USDC->arbitrum:ETH",
      -  "arbitrum:USDC->robinhood:ETH",
      -  "arbitrum:USDC->robinhood:USDG",
      -  "robinhood:ETH->solana:SOL",
      -  "robinhood:ETH->solana:USDC",
      -  "robinhood:ETH->solana:USDG",
      -  "robinhood:ETH->base:ETH",
      -  "robinhood:ETH->base:USDC",
      -  "robinhood:ETH->arbitrum:ETH",
      -  "robinhood:ETH->arbitrum:USDC",
      -  "robinhood:ETH->robinhood:USDG",
      -  "robinhood:USDG->solana:SOL",
      -  "robinhood:USDG->solana:USDC",
      -  "robinhood:USDG->solana:USDG",
      -  "robinhood:USDG->base:ETH",
      -  "robinhood:USDG->base:USDC",
      -  "robinhood:USDG->arbitrum:ETH",
      -  "robinhood:USDG->arbitrum:USDC",
      -  "robinhood:USDG->robinhood:ETH",
      -  "polygon:USDC->base:USDC",
      -  "polygon:USDC->arbitrum:USDC",
      -  "optimism:USDC->base:USDC",
      -  "optimism:USDC->arbitrum:USDC",
      -  "ethereum:USDC->solana:USDC",
      -  "ethereum:USDC->base:USDC",
      -  "hyperevm:USDC->solana:USDC",
      -  "hyperevm:USDC->base:USDC",
      -  "xlayer:USDC->solana:USDC",
      -  "xlayer:USDC->base:USDC",
      -  "sei:USDC->solana:USDC",
      -  "sei:USDC->base:USDC",
      -  "sonic:USDC->solana:USDC",
      -  "sonic:USDC->base:USDC"
      -]New value: +[
      +  "solana:SOL->solana:USDC",
      +  "solana:SOL->solana:USDG",
      +  "solana:SOL->base:ETH",
      +  "solana:SOL->base:USDC",
      +  "solana:SOL->arbitrum:ETH",
      +  "solana:SOL->arbitrum:USDC",
      +  "solana:SOL->robinhood:ETH",
      +  "solana:SOL->robinhood:USDG",
      +  "solana:USDC->solana:SOL",
      +  "solana:USDC->solana:USDG",
      +  "solana:USDC->base:ETH",
      +  "solana:USDC->base:USDC",
      +  "solana:USDC->arbitrum:ETH",
      +  "solana:USDC->arbitrum:USDC",
      +  "solana:USDC->robinhood:ETH",
      +  "solana:USDC->robinhood:USDG",
      +  "solana:USDG->solana:SOL",
      +  "solana:USDG->solana:USDC",
      +  "solana:USDG->base:ETH",
      +  "solana:USDG->base:USDC",
      +  "solana:USDG->arbitrum:ETH",
      +  "solana:USDG->arbitrum:USDC",
      +  "solana:USDG->robinhood:ETH",
      +  "solana:USDG->robinhood:USDG",
      +  "base:ETH->solana:SOL",
      +  "base:ETH->solana:USDC",
      +  "base:ETH->solana:USDG",
      +  "base:ETH->base:USDC",
      +  "base:ETH->arbitrum:ETH",
      +  "base:ETH->arbitrum:USDC",
      +  "base:ETH->robinhood:ETH",
      +  "base:ETH->robinhood:USDG",
      +  "base:USDC->solana:SOL",
      +  "base:USDC->solana:USDC",
      +  "base:USDC->solana:USDG",
      +  "base:USDC->base:ETH",
      +  "base:USDC->arbitrum:ETH",
      +  "base:USDC->arbitrum:USDC",
      +  "base:USDC->robinhood:ETH",
      +  "base:USDC->robinhood:USDG",
      +  "arbitrum:ETH->solana:SOL",
      +  "arbitrum:ETH->solana:USDC",
      +  "arbitrum:ETH->solana:USDG",
      +  "arbitrum:ETH->base:ETH",
      +  "arbitrum:ETH->base:USDC",
      +  "arbitrum:ETH->arbitrum:USDC",
      +  "arbitrum:ETH->robinhood:ETH",
      +  "arbitrum:ETH->robinhood:USDG",
      +  "arbitrum:USDC->solana:SOL",
      +  "arbitrum:USDC->solana:USDC",
      +  "arbitrum:USDC->solana:USDG",
      +  "arbitrum:USDC->base:ETH",
      +  "arbitrum:USDC->base:USDC",
      +  "arbitrum:USDC->arbitrum:ETH",
      +  "arbitrum:USDC->robinhood:ETH",
      +  "arbitrum:USDC->robinhood:USDG",
      +  "robinhood:ETH->solana:SOL",
      +  "robinhood:ETH->solana:USDC",
      +  "robinhood:ETH->solana:USDG",
      +  "robinhood:ETH->base:ETH",
      +  "robinhood:ETH->base:USDC",
      +  "robinhood:ETH->arbitrum:ETH",
      +  "robinhood:ETH->arbitrum:USDC",
      +  "robinhood:ETH->robinhood:USDG",
      +  "robinhood:USDG->solana:SOL",
      +  "robinhood:USDG->solana:USDC",
      +  "robinhood:USDG->solana:USDG",
      +  "robinhood:USDG->base:ETH",
      +  "robinhood:USDG->base:USDC",
      +  "robinhood:USDG->arbitrum:ETH",
      +  "robinhood:USDG->arbitrum:USDC",
      +  "robinhood:USDG->robinhood:ETH",
      +  "polygon:USDC->base:USDC",
      +  "polygon:USDC->arbitrum:USDC",
      +  "optimism:USDC->base:USDC",
      +  "optimism:USDC->arbitrum:USDC",
      +  "ethereum:USDC->solana:USDC",
      +  "ethereum:USDC->base:USDC",
      +  "hyperevm:USDC->solana:USDC",
      +  "hyperevm:USDC->base:USDC",
      +  "xlayer:USDC->solana:USDC",
      +  "xlayer:USDC->base:USDC",
      +  "sei:USDC->solana:USDC",
      +  "sei:USDC->base:USDC",
      +  "sonic:USDC->solana:USDC",
      +  "sonic:USDC->base:USDC",
      +  "monad:USDC->solana:USDC",
      +  "monad:USDC->base:USDC",
      +  "avalanche:USDC->solana:USDC",
      +  "avalanche:USDC->base:USDC",
      +  "cronos:USDC->solana:USDC",
      +  "cronos:USDC->base:USDC",
      +  "injective:USDC->solana:USDC",
      +  "injective:USDC->base:USDC",
      +  "linea:USDC->solana:USDC",
      +  "linea:USDC->base:USDC",
      +  "aptos:USDC->solana:USDC",
      +  "aptos:USDC->base:USDC"
      +]
    • changedInput schema / properties / verification_context / properties / direct_route_summary / properties / steps / items / properties / from / enum
      Previous value: -[
      -  "solana:SOL",
      -  "solana:USDC",
      -  "solana:USDG",
      -  "base:ETH",
      -  "base:USDC",
      -  "arbitrum:ETH",
      -  "arbitrum:USDC",
      -  "robinhood:ETH",
      -  "robinhood:USDG",
      -  "polygon:USDC",
      -  "optimism:USDC",
      -  "ethereum:USDC",
      -  "hyperevm:USDC",
      -  "xlayer:USDC",
      -  "sei:USDC",
      -  "sonic:USDC"
      -]New value: +[
      +  "solana:SOL",
      +  "solana:USDC",
      +  "solana:USDG",
      +  "base:ETH",
      +  "base:USDC",
      +  "arbitrum:ETH",
      +  "arbitrum:USDC",
      +  "robinhood:ETH",
      +  "robinhood:USDG",
      +  "polygon:USDC",
      +  "optimism:USDC",
      +  "ethereum:USDC",
      +  "hyperevm:USDC",
      +  "xlayer:USDC",
      +  "sei:USDC",
      +  "sonic:USDC",
      +  "monad:USDC",
      +  "avalanche:USDC",
      +  "cronos:USDC",
      +  "injective:USDC",
      +  "linea:USDC",
      +  "aptos:USDC"
      +]
    • changedInput schema / properties / verification_context / properties / intent / properties / from_chain / description
      Previous value: -"Source chain for the v2 route. Polygon, Optimism, Ethereum, HyperEVM, X Layer, Sei and Sonic are source-only and cannot be used as to_chain."New value: +"Source chain for the v2 route. Polygon, Optimism, Ethereum, HyperEVM, X Layer, Sei, Sonic, Monad, Avalanche, Cronos, Injective, Linea, and Aptos are source-only and cannot be used as to_chain."
    • changedInput schema / properties / verification_context / properties / intent / properties / from_chain / enum
      Previous value: -[
      -  "solana",
      -  "base",
      -  "arbitrum",
      -  "robinhood",
      -  "polygon",
      -  "optimism",
      -  "ethereum",
      -  "hyperevm",
      -  "xlayer",
      -  "sei",
      -  "sonic"
      -]New value: +[
      +  "solana",
      +  "base",
      +  "arbitrum",
      +  "robinhood",
      +  "polygon",
      +  "optimism",
      +  "ethereum",
      +  "hyperevm",
      +  "xlayer",
      +  "sei",
      +  "sonic",
      +  "monad",
      +  "avalanche",
      +  "cronos",
      +  "injective",
      +  "linea",
      +  "aptos"
      +]
    • changedInput schema / properties / verification_context / properties / wallets / additionalProperties / description
      Previous value: -"Caller-owned public wallet address: 0x plus 40 hex characters for EVM, or 32-44 base58 characters for Solana. Never provide secret key material."New value: +"Caller-owned public wallet address: 0x plus 40 hex characters for EVM, 0x plus 64 hex characters for Aptos, or 32-44 base58 characters for Solana. Never provide secret key material."
    • changedInput schema / properties / verification_context / properties / wallets / propertyNames / enum
      Previous value: -[
      -  "solana",
      -  "base",
      -  "arbitrum",
      -  "robinhood",
      -  "polygon",
      -  "optimism",
      -  "ethereum",
      -  "hyperevm",
      -  "xlayer",
      -  "sei",
      -  "sonic"
      -]New value: +[
      +  "solana",
      +  "base",
      +  "arbitrum",
      +  "robinhood",
      +  "polygon",
      +  "optimism",
      +  "ethereum",
      +  "hyperevm",
      +  "xlayer",
      +  "sei",
      +  "sonic",
      +  "monad",
      +  "avalanche",
      +  "cronos",
      +  "injective",
      +  "linea",
      +  "aptos"
      +]
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false. The description adds genuine behavioral context beyond those hints: the refreshed action is "deeply verified," receives a "wallet handoff," and AssetFare "never signs or submits," clarifying the mutation boundary and non-custodial posture.

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?

Four short sentences, front-loaded with the operational rule and its constraint, then the example, then the outcome and safety boundary. Every sentence contributes; no filler or redundancy.

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 mutation tool with an output schema present (so return values need not be described) and fully documented parameters, the description supplies the missing operational context: precondition, regenerated-vs-reused values, and the signing/submission boundary. Nothing critical for correct invocation is obviously missing.

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 description coverage is 100%, so the baseline is 3. The description adds a meaningful nuance beyond the schema by specifying that the refreshed call takes the existing session, a NEW idempotency key, and the ORIGINAL verification_context — clarifying which values must be carried over versus regenerated.

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 opens with a specific verb+resource ("Refresh an expired action") and scopes it with a precondition ("only while it remains unsubmitted"), which is far more precise than a bare name restatement. It distinguishes itself from session_create/session_get by making clear this operates on an existing action, though it does not name those siblings explicitly.

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?

It gives a clear when-to-use (expired, unsubmitted action) and an explicit when-not ("Never refresh a submitted step"), plus a concrete parameter example. It stops short of naming the alternative tool to use when the action is already submitted, so it is strong context without full routing.

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.