Skip to main content
Glama

list_slices

Retrieves saved ContextSlicer slices from local JSON storage, letting you review available context snippets and optionally cap the number returned.

Instructions

List all saved ContextSlicer slices from local JSON storage.

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_slices"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of slices to return (default 50)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden. It does disclose the meaningful behavioral detail that data comes from local JSON storage (no remote call, no auth implied), but it omits error behavior when storage is missing/corrupt, ordering of results, and how 'all' interacts with the limit cap.

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?

One short, front-loaded sentence with no filler; the operation and data source are both established immediately.

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

Completeness3/5

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

This is a simple read-only list tool with one optional parameter, so it is nearly complete, but with no output schema present the description could still say what a slice record contains or how results are capped/ordered.

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%, and the single optional 'limit' parameter is documented in the schema with its default of 50, so the description adds nothing beyond it. Baseline 3 applies, and there is a mild tension between 'list all' and a capped default the description does not reconcile.

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 ('List all saved ContextSlicer slices') plus the backing store ('local JSON storage'), so the operation is unambiguous. It does not name a sibling to contrast with, so it falls short of 5, but an agent can tell it retrieves a collection rather than a single item.

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

Usage Guidelines3/5

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

The enumerative phrasing ('list all') implies a discovery/browse use case and implicitly distinguishes it from get_slice for a single item, but no explicit when-to-use or when-not-to-use guidance is given, and no alternative is named.

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