Skip to main content
Glama
uarlouski

TestRail MCP Server

by uarlouski

get_users

Read-onlyIdempotent

Retrieve active users from TestRail globally or by project. If global access is forbidden for non-admin accounts, merge users from all active projects to resolve reviewers and assignees.

Instructions

Get active users from TestRail. Resolves active users globally or per-project. If global fetch is forbidden (for non-admin accounts), falls back to merging users across all active projects so users referenced as reviewers or assignees can be resolved.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idNoOptional ID of the project to retrieve users for. If omitted, attempts to fetch all users globally.
fallback_all_projectsNoIf true and global user retrieval is forbidden (non-admin), automatically falls back to fetching users across all active projects.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0
  2. Removedv2.1.0
  3. Addedv2.0.0

TDQS

A4.1/5.0
Behavior5/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 goes further by disclosing an authorization constraint (non-admin accounts cannot fetch globally) and the compensating behavior of merging users across all active projects. That is exactly the kind of permission-dependent behavior an agent needs.

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?

Three sentences, front-loaded with the core action, then scope, then fallback rationale. Every sentence carries information, though the third sentence partially restates the second's fallback concept.

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?

For a no-required-param read tool with full annotation coverage, the definition is nearly complete: it explains scope, permission limits, and fallback. It does not describe the shape or fields of the returned user objects, which is the main residual gap given there is no output 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 coverage is 100%, so the schema already documents both project_id and fallback_all_projects, including defaults. The description restates the global-vs-project choice and the fallback rationale but adds no format or syntax detail beyond the schema, making the baseline 3 appropriate.

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 (get active users) plus the scope it operates over (global or per-project). No sibling retrieves users, so it is trivially distinguishable, but the description does not explicitly contrast itself with any other tool.

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?

Gives clear context for use — resolving users referenced as reviewers or assignees — and explains the exact condition that triggers the fallback path (global fetch forbidden for non-admin accounts). It stops short of stating when not to use the tool or naming alternatives.

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