Skip to main content
Glama

comment.set

Set or clear a selected comment type at an address to annotate disassembly or decompiled code during reverse-engineering analysis.

Instructions

Set or clear a comment of a selected type at an address.

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>",
      "comment": "<comment>"
    },
    "name": "comment.set"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeNo
addressNo
commentYes
session_idYes
comment_typeNo
function_startNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It states a mutation occurs but does not explain clearing semantics, whether an existing comment is overwritten, permission needs, or what happens when optional parameters are omitted.

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?

The description is a single front-loaded sentence with no redundant wording. It is concise, though its brevity contributes to gaps elsewhere.

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 six-parameter mutation tool with no annotations, no output schema, and 0% schema description coverage. A one-sentence description is not complete enough to guide correct invocation or explain side effects.

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%, and the description only lightly maps to 'comment_type' and 'address'. It leaves session_id, scope, function_start, and the mechanism for clearing (e.g. whether an empty comment string clears) unexplained.

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 names a specific verb pair ('Set or clear') and resource ('comment'), along with the targeting concepts 'selected type' and 'address'. It distinguishes itself from read-oriented siblings such as comment.get or comment.list, though it does not clearly differentiate from other comment-setting tools that may target different containers.

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?

There is no explicit guidance on when to use this tool versus alternatives, nor any exclusions or prerequisites. The only usage signal is the implicit ability to set or clear a comment, which is not enough given the number of sibling comment tools.

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