Skip to main content
Glama

update_pinned_label

Set or clear the custom sidebar label for a pinned task. Use null to remove the label.

Instructions

Set or clear the custom sidebar label for a pinned task.

pinned_id is the underlying task UUID (the pinned list keys on task id; there is no separate pin-record id, hence the route /tasks/pinned/{id}). Pass label=None (or omit) to clear the label — this is the only way to clear it, so the body is always sent as {"label": label} including the JSON null. 404 if the task is not in the pinned list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pinned_idYes
labelNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries full burden. It discloses mutation (setting/clearing), the only way to clear (null), and the 404 error condition. It could mention authorization or side effects, but the disclosed information is sufficient for safe usage.

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?

Five sentences, front-loaded with the main action, concise and no fluff. Every sentence adds necessary detail (parameter clarification, clearing method, error condition).

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

Completeness5/5

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

Completeness for a simple update tool: explains operation, parameters, behavior for clearing, error condition. Output schema exists, so return value detail is not needed. No gaps identified.

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 0%, but description adds meaning to both parameters: pinned_id is 'the underlying task UUID', label can be null to clear, and body is always sent as JSON with null. This compensates for lack of schema descriptions.

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 verb 'Set or clear' and the resource 'custom sidebar label for a pinned task', making the purpose explicit. It distinguishes from sibling tools like set_item_pinned or reorder_pinned_tasks by focusing on label manipulation.

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?

Provides clear instructions on how to use: pass label=None to clear, and notes the body format. Mentions that 404 indicates task not pinned. However, it does not explicitly contrast with sibling tools or give when-to-use/not-to-use guidance.

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/Circuit-Stitch/defernowork-mcp'

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