Skip to main content
Glama

get_faq

Search common usage and troubleshooting by keyword or exact faq_id. Use offset and limit to page. Return FAQ questions, answers, links, total and next_offset. / 按关键词或编号查询常见问题,返回问答、链接、总数和下一页偏移。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_faq"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoFAQ entries per page, 1–20. / 每页问答数,1~20。
faq_idNoOptional exact FAQ ID. / 可选的精确问答编号。
offsetNoZero-based pagination offset. / 从0开始的分页起点。
keywordNoWebsite usage or troubleshooting search terms. All space-separated terms must match. / 网站使用或排错的问答检索词,空格分词全部匹配。

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / keyword / description
      Previous value: -"FAQ keywords; all space-separated terms match. / 问答关键词,空格分词全部匹配。"New value: +"Website usage or troubleshooting search terms. All space-separated terms must match. / 网站使用或排错的问答检索词,空格分词全部匹配。"
    • addedInput schema / properties / keyword / examples
      Added value: +[
      +  "upload",
      +  "文件上传"
      +]
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose that results are FAQ questions, answers, links, a total and a next_offset, and that paging is available, which is real behavioral value. It does not state that the operation is read-only, how matching is ranked, or what happens when nothing matches, leaving some gaps for a tool with zero annotation coverage.

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 purpose and the two lookup modes are front-loaded in the first clause, and the second sentence covers return shape and paging compactly. The only waste is the full Chinese restatement, which duplicates the English sentence by sentence rather than adding information.

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?

The tool is a simple four-parameter search with an output schema, so return values do not need spelling out in the description, yet it names them anyway. Between the description and the fully documented schema, an agent has enough to call this correctly; only edge-case behavior such as empty results or keyword/id precedence is unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds a bit beyond the schema by pairing 'keyword or exact faq_id' with 'offset and limit to page', clarifying that the two lookup modes are alternatives. It adds no format or precedence detail for combining keyword with faq_id, so it sits just above the schema-only baseline.

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?

States a specific verb and resource ('Search common usage and troubleshooting') plus the two lookup modes (keyword or exact faq_id). The purpose is unambiguous and an agent can decide relevance immediately. It does not name or distinguish itself from any sibling, but the sibling list contains unrelated tools (uploads, modules, plots), so no differentiation is genuinely needed.

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?

The description implies usage by describing both retrieval modes and the paging mechanism, which tells an agent how to drive the tool. It gives no explicit when-to-use framing, no note on which mode to prefer (keyword vs exact id), and no statement about when results are incomplete or when to stop paging.

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