Skip to main content
Glama

List saved tests

list_targets
Read-onlyIdempotent

List saved tests (permission: read)

Non-ephemeral saved targets for the key's project, newest first. type speaks the create vocabulary (website, android, ios, hbbtv; ios is listed, not creatable) and filters with ?type=. Keyset paginated: pass nextCursor as ?cursor=.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_targets"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoOnly saved tests of this type.
limitNoPage size, 1–100.
cursorNoThe previous page's `nextCursor` (opaque). A malformed cursor is 400 on path cursor (issue code invalid_cursor).
projectIdNoRequired with an organization key; must be the key's project with a project key. Missing (organization key) or not a UUID: 400 invalid_request on path projectId; a project outside the key's reach: 404.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / type / description
      Added value: +"Only saved tests of this type."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, and closed-world behavior, so the safety profile is covered. The description adds useful operational detail beyond that: non-ephemeral filtering, newest-first ordering, the permission requirement, and keyset pagination via nextCursor/cursor. It stops short of describing response item structure or rate limits.

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 front-loaded with purpose and permission, then compactly covers scope, ordering, type filtering, and pagination. Every sentence carries information and there is no filler.

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 paginated list tool with no output schema, the description covers the important invocation details: scope, ordering, filtering, and cursor-based pagination. It does not describe the shape of returned target objects, but that is a minor omission relative to the schema and annotation richness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description still adds meaningful nuance: it explains that `type` uses the create vocabulary and that `ios` is listed but not creatable, and it maps `nextCursor` to the cursor query parameter. It does not add much beyond the schema for `limit` or `projectId`.

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 states a specific verb and resource: it lists non-ephemeral saved targets for the key's project. It also specifies ordering (newest first), which distinguishes it from a single-target getter like get_target and from scan-listing siblings.

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?

It clearly establishes the context in which to use the tool: fetching saved targets within the key's project. It does not explicitly name alternatives such as get_target or list_scans, nor does it state when not to use it, but the scope is clear enough for an agent to select it correctly.

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