Skip to main content
Glama
knowledge-mcp

knowledge-mcp

by kvmadden

Log decision

decisions.log

Record a decision with a title, optional summary, and context after screening; clinical content is held for a reviewer instead of saved.

Instructions

Record a decision with a title, optional summary and optional context. Every field is screened before the write. A decision with clinical content is held for a reviewer instead of saved.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "title": "<title>"
    },
    "name": "decisions.log"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesDecision headline.
bucketNoBucket id.
contextNoWhy, alternatives considered. Stored as the body text.
summaryNoOne-paragraph summary.
provenanceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description adds genuinely non-obvious behavior that the annotations cannot convey — every field is screened before the write, and clinical content is diverted to a reviewer instead of being persisted. That silent non-persistence is exactly what an agent needs to know. It stops short of 5 because it says nothing about permissions, idempotency/duplicates, or what is returned in the held-for-review case.

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?

Three short sentences with no waste: the action and its payload come first, then the screening guarantee, then the exception path. Every sentence carries distinct information and the most surprising fact is placed prominently.

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

Completeness3/5

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

For a five-parameter write tool with a nested provenance object and no output schema, the description covers the main behavioral risk but omits the return contract — an agent cannot tell whether it receives a decision id, a confirmation, or a pending-review status, which matters precisely because the write may not persist. Bucket and provenance semantics are left entirely to the schema.

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 80%, so the schema already explains title, summary, context and the nested provenance fields in detail. The description restates the same three fields without adding format, constraints, or meaning for the undocumented remainder, notably the bucket id. This is the baseline case where the schema does the heavy lifting.

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 names a specific verb and resource ("Record a decision") and enumerates the core payload (title, optional summary, optional context), so an agent can immediately tell this writes a decision rather than a generic note. It does not explicitly distinguish itself from near-neighbours like memory.create or records.create, which keeps it from a 5.

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?

There is no explicit when-to-use guidance and no mention of when not to use it or which sibling to prefer for adjacent write operations. The only contextual rule given is a screening/held-for-review condition, which is behavioral rather than selection guidance.

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