Skip to main content
Glama

codesweep_list_items

List code sweep items by ID or name, filtering by state, tag, or archived status. Retrieve live or archived entries with a custom limit for precise tracking.

Instructions

List items in a sweep with optional filters.

Args:

  • sweep_ref: Sweep ID (SW-N) or name

  • state: Filter to a specific state

  • tag: Filter to items having this tag

  • include_archived: Include archived entries alongside live ones

  • archived_only: Show only archived entries. Mutually exclusive with include_archived: passing both as true is an error (it used to mean archived-only, returning FEWER entries than include_archived alone).

  • limit: Max number of entries to return. 0 means NO entries; omit it for no limit. A negative value is an error (it used to mean "no limit").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagNo
limitNo
stateNo
sweep_refYes
archived_onlyNo
include_archivedNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.2.2

TDQS

A3.9/5.0
Behavior4/5

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

The description discloses important behavioral edge cases: archived_only and include_archived are mutually exclusive, 0 limit means no entries, and negative limits are errors. It also explains legacy behavior changes. Since no annotations are present, this detail carries the full burden and does so well, though it never explicitly states that the operation is read-only.

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 concise and front-loaded with a clear summary sentence, followed by a tight bullet list. The historical notes are verbose but earn their place by preventing serious misinterpretation of limit and archived_only behavior.

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?

The description covers all six parameters and their tricky semantics, and the output schema covers return shape. It lacks details like valid state values or ordering behavior, but those are less critical for a filtered listing tool with such thorough parameter documentation.

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

Parameters5/5

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

The schema only provides types and defaults, while the description adds rich semantics: sweep_ref accepts SW-N ID or name, limit's 0/negative behavior, archived-only semantics, and the mutual exclusivity constraint. This far exceeds the schema and compensates fully for the 0% schema description coverage.

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?

The description clearly states 'List items in a sweep with optional filters,' giving a specific verb and resource. It does not explicitly differentiate from the sibling codesweep_list, but the 'items in a sweep' wording sufficiently narrows the purpose.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives such as codesweep_list, codesweep_status, or codebench_list. The description explains what the tool does but not when it should be preferred or avoided.

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

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/faxik/codebugs'

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