List roles
basis_theory_list_rolesList the roles available for tenant members. Basis Theory: GET /roles.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
basis_theory_list_rolesList the roles available for tenant members. Basis Theory: GET /roles.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, so the safe-read profile is covered structurally. The description adds the scoping detail that roles are tenant-member roles, but says nothing about pagination, result size, or whether the list is static or custom-defined.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, front-loaded with the purpose. The trailing 'Basis Theory: GET /roles' endpoint reference is mildly redundant for an agent but harmless and compact.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a parameterless, read-only list endpoint with no output schema, the description gives enough to call it correctly. Sibling discrimination against list_permissions is the only missing piece.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes zero parameters, so there is nothing for the description to clarify and no schema gap to compensate for. Baseline 4 applies for a no-argument tool.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('List the roles') plus the scope ('available for tenant members'), so the agent knows exactly what is returned. It does not differentiate itself from neighboring list tools such as list_permissions, which is the only real weakness.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is only implied: an agent can infer it is the lookup to run before assigning roles to tenant members, but there is no explicit when-to-use statement and no mention of how it differs from list_permissions. Adequate but leaves routing to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.