This server has moderate gaps in definition quality. Three tools are explicitly registered with @mcp.tool() decorator and have docstrings, but descriptions are minimal (12-50 chars), parameter documentation is sparse, and no output schemas are formally documented. Tool names follow verb_noun convention correctly (send_to_flomo, search_notes, get_all_tags), which is good. However, descriptions lack the depth needed for LLM tool selection, they state WHAT but rarely explain WHEN or WHY. Parameters like 'query', 'tag', and 'content' have brief descriptions but no format constraints, ranges, or examples of valid inputs. Return types are Python-native (dict, list) with no structured schema declaration. Error handling exists (try/catch blocks) but error responses in the code return generic dicts without actionable recovery guidance. Resources are defined but lack proper documentation.
获取所有历史发送笔记中使用的标签列表
搜索历史发送笔记
将笔记发送到Flomo并保存到本地
Descriptions are too brief (12 - 50 chars). LLMs cannot determine tool selection without WHAT, WHEN, and WHY. For example, 'get_all_tags' has a 47-char description that does not explain when to call it instead of search_notes, or whether it returns usage counts.
Output schemas are not formally documented. Functions return Python dicts (send_to_flomo) and lists (search_notes, get_all_tags) without JSON Schema declarations. LLMs cannot predict field names, types, or whether fields are optional. The rubric baseline for A+ tools is 100% documented return types.
Parameters lack format constraints, ranges, and dependency documentation. 'query' and 'tag' accept free-form strings with no min/max length, no regex pattern, no note on case sensitivity (search_notes uses .lower() but this is not documented). 'tags' in send_to_flomo states 'space separated' but does not forbid spaces within tag names or document max tag length.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 41 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 42 | - | v1 |
Error responses lack actionable recovery guidance. For example, send_to_flomo returns {"success": false, "error": <raw exception text>} on API failure. The LLM does not know whether to retry, ask the user for missing credentials, or escalate. The pattern requires error responses to guide the agent: 'Invalid webhook URL. Check FLOMO_WEBHOOK_URL in config.py' or 'Network timeout, retry with exponential backoff.'
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite MCP 2026-07-28 spec support. send_to_flomo modifies state (writes to Flomo and local disk) but carries no destructiveHint. This omission prevents agents from reasoning about retry safety and side-effect severity.
Resources lack documented schemas and discovery hints. Two resources are defined (notes://recent and notes://{note_id}) but their response structures are not formally documented. The implementation loads and returns notes dicts, but LLMs cannot predict field names or plan downstream calls without this metadata.