List accounts

veryfront__list_accounts

Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

Call type: Read-only.

Arguments

FieldTypeRequiredDescription and constraints
cursorstringNoOpaque cursor pointing at the next page. Omit it to read the first page.
limitintegerNoMaximum entries per page. Integer from 1 to 100; defaults to 20. Default: 20. Minimum: 1. Maximum: 100.
slugstringNoReturn only the account with this exact slug. Maximum length: 63.

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__list_accounts",
    "arguments": {}
  }
}

Result

The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.

FieldTypeRequiredDescription and constraints
dataobject[]YesAccounts the caller belongs to, oldest first, with the caller role in each.
page_infoobjectYesPagination cursor values for traversing the result set.

Full schemas

json
{
  "type": "object",
  "properties": {
    "cursor": {
      "type": "string",
      "description": "Opaque cursor pointing at the next page. Omit it to read the first page."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 20,
      "description": "Maximum entries per page. Integer from 1 to 100; defaults to 20."
    },
    "slug": {
      "type": "string",
      "pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$",
      "maxLength": 63,
      "description": "Return only the account with this exact slug."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "Arguments for the list_accounts tool."
}
json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "Unique identifier for the returned record."
          },
          "slug": {
            "type": "string",
            "description": "The slug returned by the tool."
          },
          "name": {
            "type": "string",
            "description": "Human-readable name for the returned record."
          },
          "kind": {
            "type": "string",
            "enum": [
              "personal",
              "team"
            ],
            "description": "The kind returned by the tool."
          },
          "created_at": {
            "type": "string",
            "description": "Creation timestamp in ISO 8601 format."
          },
          "updated_at": {
            "type": "string",
            "description": "Last update timestamp in ISO 8601 format."
          },
          "membership": {
            "type": "object",
            "properties": {
              "role": {
                "type": "string",
                "enum": [
                  "owner",
                  "admin",
                  "member"
                ],
                "description": "The role returned by the tool."
              },
              "capabilities": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "account.read",
                    "account.settings.manage",
                    "account.members.read",
                    "account.members.manage",
                    "account.invitations.read",
                    "account.invitations.manage",
                    "account.projects.read",
                    "account.projects.create",
                    "account.billing.read",
                    "account.billing.manage",
                    "account.ownership.transfer",
                    "account.delete"
                  ],
                  "description": "One capability item returned by the tool."
                },
                "description": "List of capabilities returned by the tool."
              }
            },
            "required": [
              "role",
              "capabilities"
            ],
            "additionalProperties": false,
            "description": "The caller's own membership in this account, including their resolved role and capabilities."
          }
        },
        "required": [
          "id",
          "slug",
          "name",
          "kind",
          "created_at",
          "updated_at",
          "membership"
        ],
        "additionalProperties": false,
        "description": "One data item returned by the tool."
      },
      "description": "Accounts the caller belongs to, oldest first, with the caller role in each."
    },
    "page_info": {
      "type": "object",
      "properties": {
        "self": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor that refers to the current page."
        },
        "first": {
          "type": "null",
          "description": "The first returned by the tool."
        },
        "next": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor for the next page when pagination is available."
        },
        "prev": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor for the previous page when pagination is available."
        }
      },
      "required": [
        "self",
        "first",
        "next",
        "prev"
      ],
      "additionalProperties": false,
      "description": "Pagination cursor values for traversing the result set."
    }
  },
  "required": [
    "data",
    "page_info"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "Structured result returned by the list_accounts tool."
}