Skip to main content
Glama
StreamPilot
by nulldk

set_label

Assign a friendly label to an account or profile for reports and plans, or pass null to clear it. Makes multi-account data readable in StreamPilot output.

Instructions

Assign a friendly label to an account or profile (e.g. "Alice") for reports and plans. Pass null to clear it.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "target": "<target>",
      "label": "<label>"
    },
    "name": "set_label"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelYes
targetYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare a non-read-only, non-destructive, closed-world mutation, and the description is consistent with that. It adds one genuinely useful behavioral fact beyond the annotations: passing null clears the label. It does not state idempotency, whether the target must already exist, or what overwriting an existing label does.

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?

Two short sentences with zero filler; the primary purpose is front-loaded and the null-clearing caveat follows 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?

An output schema exists, so return values need no explanation, and the mutation's safety profile comes from annotations. The unresolved identity of the required "target" parameter is the main completeness gap for a 2-parameter tool.

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

Parameters2/5

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

With 0% schema description coverage, the description must carry the parameter meaning. It handles "label" well (friendly name, example "Alice", null clears), but "target" is completely unexplained — an agent cannot tell whether it is an account ID, a profile name, or a path.

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 uses a specific verb and resource ("assign a friendly label") and scopes it to accounts or profiles, adding the purpose (reports and plans). It doesn't explicitly contrast with siblings like set_group, but the resource is distinct enough that an agent can identify it.

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?

Usage is implied by the stated purpose (labels for reports and plans), and it helpfully notes "Pass null to clear it," which covers the clearing case. However, there is no explicit when-to-use/when-not guidance, no mention of prerequisites, and no pointer to any alternative tool.

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