Skip to main content
Glama

Tokenbooks - crypto and fiat accounting and payments

Get Sync Status

get_sync_status
Read-onlyIdempotent

Check sync health across every wallet in a portfolio. Current activity takes priority over each latest finished result; safe codes and messages tell you whether to retry or reconnect credentials.

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": {
      "workspaceRef": "<workspaceRef>",
      "portfolioRef": "<portfolioRef>"
    },
    "name": "get_sync_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
portfolioRefYesPortfolio exact name or slug
workspaceRefYesWorkspace exact name or slug

Output Schema

NameRequiredDescriptionDefault
statusYes
walletsYes
startedAtNo
updatedAtYes
completedAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / wallets / items / properties / syncMessages / items / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "code": {
      -        "const": "EXCHANGE_RECONNECT_REQUIRED",
      -        "type": "string"
      -      },
      -      "details": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "errorType": {
      -            "const": "ExternalServiceAuthenticationError",
      -            "type": "string"
      -          },
      -          "provider": {
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "reconnectRequired": {
      -            "const": true,
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "provider",
      -          "reconnectRequired",
      -          "errorType"
      -        ],
      -        "type": "object"
      -      },
      -      "message": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "severity": {
      -        "default": "ERROR",
      -        "enum": [
      -          "ERROR",
      -          "WARN"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "code",
      -      "message",
      -      "severity",
      -      "details"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "code": {
      -        "const": "SYNC_PROCESSING_FAILED",
      -        "type": "string"
      -      },
      -      "details": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "errorType": {
      -            "const": "SyncProcessingError",
      -            "type": "string"
      -          },
      -          "retryable": {
      -            "const": true,
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "retryable",
      -          "errorType"
      -        ],
      -        "type": "object"
      -      },
      -      "message": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "severity": {
      -        "default": "ERROR",
      -        "enum": [
      -          "ERROR",
      -          "WARN"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "code",
      -      "message",
      -      "severity",
      -      "details"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "code": {
      -        "const": "SYNC_WARNING",
      -        "type": "string"
      -      },
      -      "details": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "errorType": {
      -            "const": "SyncWarning",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "errorType"
      -        ],
      -        "type": "object"
      -      },
      -      "message": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "severity": {
      -        "default": "ERROR",
      -        "enum": [
      -          "ERROR",
      -          "WARN"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "code",
      -      "message",
      -      "severity",
      -      "details"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "code": {
      +        "const": "EXCHANGE_RECONNECT_REQUIRED",
      +        "type": "string"
      +      },
      +      "details": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "errorType": {
      +            "const": "ExternalServiceAuthenticationError",
      +            "type": "string"
      +          },
      +          "provider": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "reconnectRequired": {
      +            "const": true,
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "provider",
      +          "reconnectRequired",
      +          "errorType"
      +        ],
      +        "type": "object"
      +      },
      +      "message": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "severity": {
      +        "default": "ERROR",
      +        "enum": [
      +          "ERROR",
      +          "WARN"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "message",
      +      "severity",
      +      "details"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "code": {
      +        "const": "SYNC_PROCESSING_FAILED",
      +        "type": "string"
      +      },
      +      "details": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "errorType": {
      +            "const": "SyncProcessingError",
      +            "type": "string"
      +          },
      +          "retryable": {
      +            "const": true,
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "retryable",
      +          "errorType"
      +        ],
      +        "type": "object"
      +      },
      +      "message": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "severity": {
      +        "default": "ERROR",
      +        "enum": [
      +          "ERROR",
      +          "WARN"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "message",
      +      "severity",
      +      "details"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "code": {
      +        "enum": [
      +          "SYNC_WARNING",
      +          "TRANSACTION_LIMIT_REACHED"
      +        ],
      +        "type": "string"
      +      },
      +      "details": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "errorType": {
      +            "const": "SyncWarning",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "errorType"
      +        ],
      +        "type": "object"
      +      },
      +      "message": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "severity": {
      +        "default": "ERROR",
      +        "enum": [
      +          "ERROR",
      +          "WARN"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "message",
      +      "severity",
      +      "details"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changed
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely new behavioral context — that current activity supersedes the latest finished result, and that responses carry safe codes and messages indicating whether to retry or re-authenticate — which an agent cannot derive from the annotations alone.

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 sentences, front-loaded with the core action and followed by interpretation guidance; there is little waste. The phrase 'safe codes and messages' is slightly opaque, costing a bit of clarity.

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?

An output schema exists, so return values need not be enumerated, yet the description still explains result semantics (current activity precedence, retry vs reconnect signals). For a two-parameter read-only diagnostic tool this is nearly complete, with only explicit sibling routing left out.

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%, with both workspaceRef and portfolioRef documented as exact name or slug, so the schema carries the parameter burden. The description adds only indirect scope meaning ('every wallet in a portfolio'), which is a helpful framing but not additional syntax or constraint detail beyond the schema.

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?

States a specific verb and resource: 'Check sync health across every wallet in a portfolio,' which precisely scopes the read to a whole portfolio rather than a single wallet. It does not explicitly distinguish itself from sync-related siblings such as full_resync, incremental_sync, or get_request_status, leaving that differentiation to inference.

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 rather than stated: the mention of 'whether to retry or reconnect credentials' hints that this is a diagnostic step preceding full_resync/incremental_sync or a credential fix. There is no explicit when-to-use statement or named alternative, so the agent must connect the dots to the sibling tools.

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