Skip to main content
Glama

tds_promote

Promotes a LEARNING comment in a source file to a titled anchor document, optionally assigning a domain, integrations, or lessons-learned category.

Instructions

Promote a LEARNING comment to an anchor

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": {
      "file": "<file>",
      "line": "<line>",
      "title": "<title>"
    },
    "name": "tds_promote"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesSource file path
lineYesLine number of the LEARNING comment
titleYesTitle for the new anchor
categoryNoAnchor categorydomain

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations exist, so the description must disclose behavior. It implies a mutation (promotion) but says nothing about whether the source comment is consumed, whether the operation is idempotent, required permissions, or what happens to existing anchors.

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 front-loaded sentence with no wasted words. It is concise, though it reads as a fragment rather than a structured explanation, and the missing context is addressed under other dimensions.

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?

This is a 4-parameter mutation with three required inputs, no annotations, and no output schema. The description does not explain the result of promotion, error conditions, or the domain meaning of 'LEARNING' and 'anchor', so it is not complete enough for an agent to invoke with confidence.

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%, so all four parameters (file, line, title, category) are already documented in the schema. The description adds no additional meaning or constraints beyond what the schema provides.

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?

Uses a specific verb ('Promote') and resource ('a LEARNING comment') with a target ('anchor'), so the transformation is identifiable. However, neither 'LEARNING comment' nor 'anchor' is defined, and no sibling tool is referenced for differentiation.

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

Usage Guidelines2/5

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

Provides no indication of when to choose this tool over siblings like tds_get_context, tds_report, or tds_search. It also omits prerequisites, such as whether the comment must exist or what permissions are needed.

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