Skip to main content
Glama
djanzu

pxt-anzu-diary-mcp

by djanzu

pxt-anzu-diary-mcp MCP server

PXT日記MCP

Components

Resources

The server implements a simple note storage system with:

  • Custom note:// URI scheme for accessing individual notes

  • Each note resource has a name, description and text/plain mimetype

Prompts

The server provides a single prompt:

  • summarize-notes: Creates summaries of all stored notes

    • Optional "style" argument to control detail level (brief/detailed)

    • Generates prompt combining all current notes with style preference

Tools

The server implements one tool:

  • add-note: Adds a new note to the server

    • Takes "name" and "content" as required string arguments

    • Updates server state and notifies clients of resource changes

Related MCP server: Soduku Solver MCP Server

Configuration

[TODO: Add configuration details specific to your implementation]

Quickstart

Install

Claude Desktop

On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

Development

Building and Publishing

To prepare the package for distribution:

  1. Sync dependencies and update lockfile:

uv sync
  1. Build package distributions:

uv build

This will create source and wheel distributions in the dist/ directory.

  1. Publish to PyPI:

uv publish

Note: You'll need to set PyPI credentials via environment variables or command flags:

  • Token: --token or UV_PUBLISH_TOKEN

  • Or username/password: --username/UV_PUBLISH_USERNAME and --password/UV_PUBLISH_PASSWORD

Debugging

Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.

You can launch the MCP Inspector via npm with this command:

npx @modelcontextprotocol/inspector uv --directory /Users/anzu/kaisha/pxt-anzu-diary-mcp run pxt-anzu-diary-mcp

Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.

Gemini CLIでの設定

{
  "mcpServers": {
    "pxt-anzu-diary-mcp": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "/Users/your_directory/pxt-anzu-diary-mcp",
        "pxt-anzu-diary-mcp"
      ],
      "env": {
        "DIARY_API_BASE": "http://localhost:8000/api"
      }
    }
  }
}

Available Tools

2 tools
add-noteC

日記を追加します

ParametersJSON Schema
NameRequiredDescriptionDefault
dateYes
contentYes

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only says 'add' but does not mention validation, date format requirements, whether existing entries with the same date are overwritten, or what happens on success/failure. This is minimal for a mutation tool.

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 description is a single short sentence, which is concise and front-loaded. There is no wasted wording, though it is quite sparse. It earns its place by stating the tool's basic function.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has no output schema, no annotations, and low schema coverage. For a mutation tool, the description should provide more context about return values, error behavior, or required formats. The current description is too thin to fully guide an agent in invoking the tool correctly.

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

Parameters2/5

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

Schema description coverage is 0%, and the description does not explain the parameters. The parameter names 'date' and 'content' are somewhat self-explanatory, but no format details (e.g., ISO date, content length) are provided. The description adds little over the raw schema.

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 '日記を追加します' clearly states the action (add) and the resource (diary/note). Given the sibling tool 'get-note', it distinguishes the write operation from the read operation, though it doesn't explicitly contrast them.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus get-note. The sibling name implies usage (add vs get), but the description lacks any context about prerequisites, alternatives, or conditions for use. Without annotation support, the agent gets no clear direction.

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

get-noteA

指定された年の日記を取得します

ParametersJSON Schema
NameRequiredDescriptionDefault
yearYes

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It clearly indicates a read operation via '取得します' but does not disclose error behavior, output format, or side effects. For a simple retrieval tool, this is adequate but lacks specificity.

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 a single concise sentence with no filler, and the key information is front-loaded. It is appropriate for the simple tool.

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 single-parameter retrieval tool, the description covers the essential purpose and parameter meaning. However, it does not mention edge cases like missing year entries or return format details, and there is no output schema to compensate.

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?

The description adds key semantic meaning by tying the 'year' parameter to the year of the diary to retrieve. Since the schema provides no description and the parameter is just an integer, this is essential clarification.

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 uses a specific verb '取得します' (retrieves) with a clear resource '指定された年の日記' (diary of the specified year). It clearly distinguishes from the sibling add-note, which implies a write operation.

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

Usage Guidelines2/5

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

The description provides no explicit guidance on when to use this tool versus add-note. It only states what it does, without any context or exclusions, leaving the differentiation to be inferred from the tool names.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 2 tool updatesv0.1.0
    • First observedadd-note
    • First observedget-note

TDQS

B3.4/5.0

Scored across 2 tools

Disambiguation5/5

The two tools, add-note and get-note, are clearly distinct: one creates a diary entry and the other retrieves one. No overlap or ambiguity exists between them.

Naming Consistency5/5

Both tool names follow the same verb_noun pattern with a hyphen separator: add-note and get-note. This is fully consistent and predictable.

Tool Count3/5

With only 2 tools, the server feels borderline thin. While each tool has a clear purpose, the count is at the low end of what is considered reasonable for a domain-specific server.

Completeness3/5

The server covers create and get operations only, missing update, delete, and list functionality. These are notable gaps for a diary management server, though the core add/retrieve flow is present.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers