Skip to main content
Glama
SmartBear

SmartBear MCP server

Official
by SmartBear

Reflect: List Segments

reflect_list_segments
Read-onlyIdempotent

Get reusable test segments for API, web, or mobile platforms. Use pagination to browse parameterized test steps that can be shared across multiple tests.

Instructions

Retrieve available reusable test segments for the given platform type. Segments are reusable test steps with an optional set of parameters that can used across multiple tests.

Toolset: Tests

Parameters:

  • platform (enum) required: The platform type to retrieve segments for

  • offset (number): Offset for pagination

  • limit (number): Maximum number of segments to return

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of segments to return
offsetNoOffset for pagination
platformYesThe platform type to retrieve segments for
Install Server

TDQS

A3.9/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, so the safety profile is covered. The description adds the notion of 'available' segments and the reusable-segment definition, but does not disclose much beyond the annotations, such as output format or edge cases.

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?

The description is compact and front-loaded with the core purpose. The parameter list is slightly redundant with the schema, but it is clearly formatted and does not add unnecessary length.

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 simple list operation with one required parameter and two optional pagination parameters, the description is sufficient. It explains the resource type, the key platform filter, and pagination controls, though it does not specify the return shape since no output schema is provided.

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 the schema already fully documents all three parameters. The description repeats the parameter names and descriptions but adds no new semantic detail beyond defining what segments are, which is the baseline for high schema coverage.

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 opening sentence 'Retrieve available reusable test segments for the given platform type' is a specific verb+resource statement that clearly states what the tool does. It also defines what segments are, distinguishing this from sibling list tools like reflect_list_tests and reflect_list_suites.

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?

The description gives clear context that this tool is for retrieving reusable test segments filtered by platform type, and explains the segment concept well enough for an agent to infer when it is appropriate. It does not explicitly name alternatives or exclusions, but the usage context is unambiguous.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SmartBear/smartbear-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server