Skip to main content
Glama

basis-theory

List tokens

basis_theory_list_tokens
Read-only

List vault tokens as METADATA — id, type, container, fingerprint, metadata and timestamps. Does not return the underlying card number or PII. Basis Theory: GET /v2/tokens.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNoPage size, 1-100.
typeNoOnly tokens of this type, e.g. card, bank, token.
startNoCursor from the previous page's pagination.next. Omit for the first page.
containerNoOnly tokens in this container path, e.g. /pci/high/.
fingerprintNoOnly tokens sharing this fingerprint — how you find duplicates of the same card.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered, but the description adds genuinely useful behavioral context: the response is metadata-only and deliberately excludes card numbers/PII. That is exactly the kind of trait annotations can't express and it also names the backing endpoint. It stops short of describing pagination mechanics or result limits.

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

Conciseness5/5

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

Two sentences, tightly front-loaded with the action and return shape, followed by the key limitation and the API mapping. Every clause carries information; nothing is redundant.

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?

With no output schema, the description usefully enumerates returned fields and explicitly states what is omitted, which is the critical fact for an agent handling token data. The only remaining gap is any note on pagination beyond the cursor parameter already documented in the schema.

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 description coverage is 100%, with each of the five parameters (size, type, start, container, fingerprint) documented including cursor semantics and the duplicate-detection use of fingerprint. The description adds no parameter-specific meaning beyond that, so the baseline 3 applies.

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 ('List vault tokens') and enumerates the returned fields (id, type, container, fingerprint, metadata, timestamps), which goes beyond the name. It clearly distinguishes itself from single-entity read siblings like get_token, though it doesn't name search_tokens as the alternative for richer filtering.

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?

The 'Does not return the underlying card number or PII' clause implicitly tells the agent this is a safe metadata-listing operation as opposed to a value-revealing one, which is useful routing context. However, there is no explicit statement of when to prefer this over search_tokens, nor any prerequisite/exclusion guidance.

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.