Skip to main content
Glama
gwq0514

cognitive-harness-mcp

by gwq0514

获取用户认知摘要

cognitive_summary
Read-onlyIdempotent

Produce a compressed user cognitive profile: preferences, traits, domain knowledge, known facts, follow-ups. For conversation start or holistic understanding, more efficient than item-by-item recall.

Instructions

获取压缩的用户认知画像("印象"):交互偏好、核心画像、分域认知、已知事实、待跟进。适用于对话开始、或需要全面理解用户时。比逐条检索更高效。

Args: format: 'system_prompt'(默认,返回带引导语的注入片段)| 'markdown'(纯摘要)

Returns: { "summary": string, "memory_count": number }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNo'system_prompt' 返回带引导语的注入片段(默认);'markdown' 返回纯摘要system_prompt
Install Server

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the safety profile is covered. The description adds useful behavioral details beyond the annotations, such as the two output formats (system_prompt vs markdown) and the return shape including summary and memory_count. There is no contradiction with the annotations.

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?

The description is compact and well-organized: a one-sentence summary of purpose and content, a one-sentence usage recommendation, and a brief Args/Returns breakdown. Every sentence adds value and the most important information 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?

Given that there is only one optional parameter, rich annotations, and no output schema, the description is complete enough. It explains the return value explicitly and describes both possible format values, so an agent has everything needed to invoke it correctly.

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?

The input schema has 100% description coverage for the only parameter, including an enum, a default value, and a clear explanation of each format option. The description repeats this information but does not add meaning beyond what the schema already provides, so it earns the baseline score.

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?

The description clearly states the tool's purpose: it returns a compressed user cognitive profile ("印象") with specific content categories like interaction preferences, core profile, domain cognition, known facts, and follow-ups. It distinguishes itself from item-by-item retrieval by explicitly claiming to be more efficient, making it easy to separate from siblings like cognitive_search and cognitive_list.

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?

The description explicitly says when to use it: at the start of a conversation or when a comprehensive understanding of the user is needed. It also frames the tool as more efficient than per-item retrieval. However, it does not name specific alternative sibling tools or state when not to use it, so it stops one step short of full usage guidance.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gwq0514/cognitive-harness-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server