Skip to main content
Glama

tag.list

Lists tags assigned to a specific function or across the whole program to help inspect and organize reverse-engineering annotations.

Instructions

List tags for one function or across the whole program.

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": {
      "session_id": "<session_id>"
    },
    "name": "tag.list"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idYes
function_startNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. 'List' correctly signals a non-mutating read and the sentence conveys the shape of the result set (tags scoped to one function or the entire program). It says nothing about ordering, pagination, volume of results, or whether tags are user-defined versus system tags.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence, front-loaded with the verb, with no wasted words. It is terse to the point of under-specification, but no sentence is redundant.

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

Completeness2/5

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

The tool is simple (two parameters, no output schema), yet with zero schema coverage and no annotations, the description is the only source of parameter and behavior information and leaves the key scoping parameter undefined. An agent cannot tell from this definition whether omitting function_start lists program-wide tags or errors.

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?

Schema description coverage is 0%, so the description must explain both parameters and does not. It implies function_start scopes results to a single function but never states that it is optional, nor what values it accepts, even though the schema allows either an integer or a string. session_id, the only required parameter, is not mentioned at all.

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 states a specific verb (List) and resource (tags) plus its two scopes: one function or the whole program. That distinguishes it from the sibling mutation tools tag.add and tag.remove. It stops short of distinguishing it from tag.stats, which an agent could plausibly confuse with a listing call.

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 two operating modes are implied by the phrase 'for one function or across the whole program', which hints that scope depends on whether a function is supplied. However, it never says what to pass to select a mode, whether function_start is optional, or when to prefer tag.stats over tag.list.

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

Deploy Server

Other Tools