Skip to main content
Glama

Get user plan

get-plan
Read-onlyIdempotent

Get the plan type and admin/owner flags for a user.

Side effects: none (read-only).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idNoFax.Plus user ID. Default: self.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
is_adminYes
is_ownerYes
plan_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds 'Side effects: none (read-only)', which is redundant with the annotations. It doesn't add other behavioral context like auth requirements or rate limits, but given the annotations cover safety, the bar is met.

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?

The description is extremely concise: two sentences with no wasted words. The core purpose is front-loaded, and the side-effect note is a natural follow-up. This is an exemplar of efficient, scannable documentation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple: one optional parameter, an output schema exists (not shown but present), and annotations cover safety. The description fully conveys what an agent needs to know to call it correctly. Nothing is missing for this read-only, idempotent operation.

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 coverage is 100% – the user_id parameter is documented in the schema. The description adds no additional parameter semantics. With full schema coverage, the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Get' and the specific resource: 'plan type and admin/owner flags for a user'. This distinguishes it from siblings like get-user (user details) and get-balance (account balance), making the tool's purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

While it doesn't explicitly name alternatives, the description is specific enough that an agent can infer when to use this tool (when plan type and flags are needed). It provides clear context without being misleading, and the purpose is self-evident among the sibling tools.

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.

Resources