Skip to main content
Glama

Trustbase Lab · Trusted Data Infrastructure for the AI Era

Search Knowledge Cards

query_cards
Read-onlyIdempotent

Purpose: search the public knowledge-card collection - atomic sourced facts compiled from statistics, standards, papers and official announcements. Guidelines: keyword matches title and fact fields; combine type and region to narrow; every card returns its fact summary together with the source it was compiled from. Limits: publicly releasable cards only - cards marked excluded (with an excluded reason) are filtered out at export and never returned; each card is a single fact rather than analysis, and carries no recommendation. Ex: query_cards(keyword='ISCC'), query_cards(type='标准解读', region='欧盟'). ⭐ Scope: the LEGACY knowledge-card layer (rCB-centric, small curated set). For multi-domain facts (carbon markets / telecom / health / energy / compute) with confidence grades and as-of dates, prefer query_domain_benchmarks instead - it is the current, larger benchmark layer.

Input Schema

NameRequiredDescriptionDefault
typeNo可选:卡片类型
limitNo返回条数上限(默认 20)
offsetNo起始偏移,默认 0;返回体 has_more=true 时用 next_cursor 作为下一页 offset
regionNo可选:区域关键词
keywordNo关键词(标题与事实字段全文匹配)
response_formatNo输出格式:markdown=人类阅读(默认), json=Agent 处理友好markdown

Output Schema

NameRequiredDescriptionDefault
textYesHuman-readable result (markdown, or a JSON string when response_format=json).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "起始偏移,默认 0;返回体 has_more=true 时用 next_cursor 作为下一页 offset",
      +  "type": "integer"
      +}
    • addedInput schema / properties / response_format
      Added value: +{
      +  "default": "markdown",
      +  "description": "输出格式:markdown=人类阅读(默认), json=Agent 处理友好",
      +  "enum": [
      +    "markdown",
      +    "json"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "text": {
      +      "description": "Human-readable result (markdown, or a JSON string when response_format=json).",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "text"
      +  ],
      +  "type": "object"
      +}
  3. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already fully cover the safety profile (readOnly, idempotent, destructive=false, openWorld=false), so the bar is lower; the description nonetheless adds real behavioral context the annotations do not convey: excluded cards are filtered at export and never returned, and each card is a single fact with no recommendation. It does not cover pagination/return-shape behavior, but the output schema handles that.

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?

Front-loaded with Purpose/Guidelines/Limits/Ex/Scope labels and every section carries information; no filler sentences. It runs slightly long, and the starred Scope paragraph does a lot of work that could be tightened, but nothing is wasted.

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?

With a full output schema and complete annotations, the description only needs to add selection and content semantics, which it does (filtering rules, card granularity, when to prefer query_domain_benchmarks). The only shortfall is the enum-inconsistent example value, which leaves a small ambiguity about accepted type inputs.

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 description coverage is 100% (including offset/next_cursor and response_format), so baseline is 3. The description adds useful matching semantics (keyword scans title and fact fields; combine type and region) and worked examples, but the example query_cards(type='标准解读') uses a value that is not in the type enum (statistic/standard/paper/announcement/industry_association), which risks misleading the agent.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('search the public knowledge-card collection') and immediately qualifies what a card is (atomic sourced facts compiled from statistics, standards, papers, announcements). The Scope note explicitly differentiates it from the sibling query_domain_benchmarks, so an agent can choose between them without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives concrete when-to-use rules (keyword matches title/fact fields; combine type and region to narrow), explicit exclusions (legacy rCB-centric layer, small curated set), and names the preferred alternative for multi-domain facts with the reason (current, larger benchmark layer). Nothing is left to inference.

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