Tálamo

    Tálamo MCP · v1.4

    audit_​recent_​trades

    Lista datos acotados de operaciones recientes de una cuenta propia.

    Auditoría · Solo lectura · Versión del contrato 1.0.0

    Permisos y seguridad

    Procedencia
    audited_account
    Requiere confirmación
    No
    openWorld
    false

    Esquema de entrada

    json

    {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "account_id": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$"
        },
        "limit": {
          "default": 20,
          "type": "integer",
          "minimum": 1,
          "maximum": 50
        }
      },
      "required": [
        "account_id",
        "limit"
      ],
      "additionalProperties": false
    }

    Esquema de salida

    json

    {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "source": {
          "type": "string",
          "const": "audited_account"
        },
        "trades": {
          "type": "array",
          "items": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        }
      },
      "required": [
        "source",
        "trades"
      ],
      "additionalProperties": {}
    }

    Ejemplo

    json

    {
      "title": "Recent trades",
      "input": {
        "account_id": "00000000-0000-4000-8000-000000000004",
        "limit": 20
      },
      "output": {
        "source": "audited_account",
        "trades": []
      }
    }

    Límites

    1. At most 50 trades.
    2. Only trades from an account owned by the authenticated user.

    Errores estables

    CódigoDescripción
    UNAUTHORIZEDThe OAuth token is missing, expired, revoked, or invalid for this resource.
    VALIDATION_ERRORThe arguments do not match the published input schema.
    TOOL_ERRORThe operation could not be completed without exposing internal details.
    NOT_FOUNDThe account is not owned by the authenticated user.