Skip to main content
Glama

List custom role credit limits

list_role_credit_limits
Read-onlyIdempotent

List every active custom role in an organization with its monthly credit limit, so external systems can review and manage role-based credit limits programmatically.

Instructions

This endpoint lists every active custom role in an organization together with its monthly credit limit, so external systems can manage credit limits programmatically. A monthly_credit_limit of null means the role sets no limit of its own. The limit applies to each member of the role individually; when a user belongs to multiple roles, the highest limit across their roles wins. Read operation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cursorNoOpaque cursor from a previous response's `next_cursor`; omit for the first page.
accountNoNamed private Gumloop account; selects private credentials and user/team identity.
user_idNoYour user id -- you must be an organization admin to manage custom role credit limits.
page_sizeNoNumber of roles per page.
organization_idYesThe ID of the organization.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

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, so the safety profile is covered. The description adds genuine domain semantics: null means no self-imposed limit, the limit applies per member individually, and with multiple roles the highest limit wins. It does not mention pagination behavior, though the cursor param covers that.

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?

Front-loaded with the core action and scope, followed by meaningful edge-case semantics. The trailing 'Read operation.' is redundant given readOnlyHint=true, a small bit of waste in an otherwise tight description.

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 explains the key return-value nuance (null vs. an actual limit) and multi-role resolution. Combined with the fully documented input schema and annotations, an agent has what it needs, though explicit sibling routing would round it 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 description coverage is 100%, so all five parameters are already documented in the schema, including the admin requirement on user_id and cursor semantics. The description adds no parameter-level detail beyond the schema, so 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: it lists every active custom role in an organization along with each role's monthly credit limit. The 'every ... role' scope implicitly separates it from the singular get_role_credit_limit and set_role_credit_limit siblings, but it never names those alternatives explicitly.

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 stated motivation ('so external systems can manage credit limits programmatically') implies when the tool is useful, but there is no explicit when-to-use/when-not-to-use guidance or comparison against get_role_credit_limit or set_role_credit_limit. Usage is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools