Skip to main content
Glama
theSharque
by theSharque

Set Slice

set-slice

Creates a custom slice filter to group entries by kinds and tags, enabling reuse in architecture queries when built-in slices are insufficient.

Instructions

Saves a custom slice definition (filter only—no items). Items always live in entries. Use when built-in slices (api, domain, …) are not enough, e.g. filter kinds godot-scene + tag gameplay. Do not store duplicate entry text here. get-slice reads entries through this filter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdNoProject id
idYesCustom slice id (avoid colliding with built-in: api, domain, persistence, …)
titleYesHuman-readable slice name
descriptionNoWhen an agent should use this slice
kindsNoInclude entries with any of these kind values
tagsNoInclude entries having any of these tags

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
sliceIdYes
messageYes
Behavior4/5

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

No annotations provided, so description must carry the burden. It clearly states the slice is filter-only and items live in entries. It warns against storing duplicate entry text. However, it does not disclose if the tool overwrites existing slices or require permissions.

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?

Four sentences, each adding value. Front-loaded with core purpose. No fluff or redundant information.

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?

Given 27 sibling tools, description distinguishes from get-slice and mentions built-in slices. It covers main use case and constraints. Lacks details on overwrite behavior or relationship with other slice tools.

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 baseline is 3. Description adds value by explaining the slice is a filter and giving usage context for kinds and tags. It does not detail each parameter but reinforces overall semantics.

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 clearly states the tool saves a custom slice definition (filter only, not items). It distinguishes from built-in slices and provides an example. The verb 'saves' and resource 'custom slice definition' are specific.

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 says 'Use when built-in slices are not enough' and gives an example, implying when to use. It also warns against storing duplicate entry text. However, it does not explicitly state when not to use or list all alternative tools.

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

Install Server

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/theSharque/mcp-architect'

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