Skip to main content
Glama

Add an FAQ answer

add_answer

Add a frequently asked question and the answer the AI agents should give, starting with the next call. Show the user the wording before saving.

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": {
      "question": "<question>",
      "answer": "<answer>"
    },
    "name": "add_answer"
  }
}

Input Schema

NameRequiredDescriptionDefault
answerYesThe answer agents should give
questionYesThe question, as a customer would ask it
always_sayNoTrue (default): agents always know it. False: they look it up when asked
workspace_idNoLeave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Act in one of this organization's workspaces (id from list_workspaces or create_workspace). Leave empty to act in the connected organization."New value: +"Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace."
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare a non-destructive, non-idempotent, open-world write, so the bar is lower. The description adds two genuinely behavioral facts not in the annotations: the entry becomes effective on the next call, and the agent should show the user the wording before saving. It does not say what happens when the same question is added twice, which matters given idempotentHint=false.

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?

Two sentences, front-loaded with purpose, followed by the operational constraint. No filler or restated title.

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?

For a 4-parameter write tool with full schema coverage, no output schema, and complete annotations, the description covers purpose, effect timing, and the confirmation step. It stops short on duplicate handling and on what the call returns, which would round it out.

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 the baseline of 3 applies. The description paraphrases the question and answer fields and alludes to "the wording" to preview, but says nothing about always_say or the workspace scoping that the schema already documents in detail.

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 and resource ("Add a frequently asked question and the answer the AI agents should give") plus the effect scope ("starting with the next call"). It is clearly distinguishable in intent from remove_answer and from generic knowledge-adding tools, 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 Guidelines3/5

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

Usage is implied (use this to create an FAQ entry the agents will use) and the description adds a procedural expectation to confirm wording with the user before saving. There is no explicit when-not guidance, no mention of how this differs from add_knowledge_text or when an existing answer should be updated instead.

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