Skip to main content
Glama

Answer a feature

set_my_feature
DestructiveIdempotent

Says whether the signed-in person's product has a feature already on its list or suggested from its alternatives: true, false, or null to take the answer back. Replaces the current answer. Needs the write scope. Before calling, show the user exactly what will change and wait for them to confirm.

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": {
      "listing": "<listing>",
      "feature": "<feature>",
      "has": "<has>"
    },
    "name": "set_my_feature"
  }
}

Input Schema

NameRequiredDescriptionDefault
hasYestrue: has it; false: doesn't; null: unanswered
featureYesThe feature's slug or name, from get_my_listing
listingYesThe listing's slug or id

Output Schema

NameRequiredDescriptionDefault
hasYes
editUrlYes
productYes
toAnswerYes
doesNotHaveYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, and the description adds substantive context on top: the call overwrites the existing answer, requires write scope, and demands explicit user confirmation before execution. The null semantics ('take the answer back') tell the agent this doubles as a retraction path. This is meaningful behavioral disclosure beyond the structured fields.

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?

Four short sentences, each carrying a distinct piece of information: value semantics, overwrite behavior, permission requirement, and confirmation workflow. Front-loaded with the core action. Minor redundancy in restating the true/false/null triple that the schema also enumerates.

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

Completeness4/5

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

Given an output schema exists and annotations cover the safety profile, the description supplies the remaining agent-critical pieces: scope requirement, overwrite semantics, and the human-confirmation gate for a destructive write. It does not cover failure modes (e.g., listing not owned by the caller) or behavior relative to add_my_feature, keeping it short of full completeness.

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 coverage is 100%, with each of has, feature, and listing already described, including where the feature value comes from (get_my_listing). The description adds only the nuance that null retracts a prior answer rather than merely leaving it unanswered, which slightly reframes the schema's 'unanswered' text. With the schema doing nearly all the work, baseline 3 applies.

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 and resource: it sets the signed-in user's product-level answer (true/false/null) for a feature, and it clarifies that it 'Replaces the current answer.' That distinguishes it from add_my_feature, which adds to the list rather than answering. The phrasing 'Says whether' is slightly indirect about the write, but the second sentence removes the ambiguity.

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?

It states a prerequisite ('Needs the write scope') and a required workflow ('Before calling, show the user exactly what will change and wait for them to confirm'), which are actionable usage conditions. It does not explicitly exclude or route to alternatives such as add_my_feature for adding a new feature, so this is clear context without full when/when-not coverage.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources