Skip to main content
Glama

Edit an FAQ

update_my_faq
DestructiveIdempotent

Rewrites one FAQ on the signed-in person's product, replacing its question and 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>",
      "faqId": "<faqId>",
      "question": "<question>",
      "answer": "<answer>"
    },
    "name": "update_my_faq"
  }
}

Input Schema

NameRequiredDescriptionDefault
faqIdYesThe FAQ's id, from get_my_listing
answerYesThe answer, at most 1500 characters
listingYesThe listing's slug or id
questionYesThe question, at most 200 characters

Output Schema

NameRequiredDescriptionDefault
faqsYes
limitYes
editUrlYes
productYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/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 material context beyond them: the write-scope requirement and a mandatory user-confirmation step. "Replacing its question and answer" also discloses full-replacement semantics rather than a partial patch.

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?

Three short sentences, each load-bearing: what it does, what authorization it needs, and the confirmation precondition. No filler and the mutation is front-loaded.

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

Completeness5/5

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

For a four-parameter destructive mutation, the description covers action, auth scope, and the confirm-before-write safeguard, while the input schema handles field details (including where faqId comes from) and an output schema covers returns.

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%, so all four parameters are already documented with types and max lengths. The description only adds the replace-both-fields implication, which the required list already conveys; a baseline 3 is appropriate.

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?

"Rewrites one FAQ on the signed-in person's product, replacing its question and answer" gives a specific verb (rewrite), a bounded resource (one FAQ), and the scope (signed-in user's product). This functionally separates it from add_my_faq and remove_my_faq, though no sibling is named explicitly.

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 gives a clear procedural gate: show the user exactly what will change and wait for confirmation before calling. That is strong when-to-use guidance, but it never states when to choose this over add_my_faq or remove_my_faq.

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