Skip to main content
Glama

Knowledge graph design

knowledge_graph_design
Read-onlyIdempotent

Submits a knowledge-graph design record (schema and modeling, provenance, immutable history, storage and query retrieval, portability and ownership, privacy and red lines) and returns a deterministic KNOWLEDGE_GRAPH_DESIGN_SOUND / KNOWLEDGE_GRAPH_DESIGN_NOT_SOUND / INSUFFICIENT_EVIDENCE verdict across six sections, including computed per-assertion provenance and origin-classification coverage checks, with per-check evidence. Audits the declared design; it stores and queries no graph.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "knowledge_graph_design"
  }
}

Input Schema

NameRequiredDescriptionDefault
graphNoKnowledge graph being designed.
queryNoQuery and retrieval evidence.
schemaNoSchema and modeling evidence.
historyNoImmutable history evidence.
privacyNoPrivacy evidence.
storageNoStorage evidence.
red_linesNoRed-line evidence.
assertionsNoDeclared assertions: {name, source_declared, date_declared, confidence_declared, origin_classified}.
provenanceNoProvenance evidence.
portabilityNoPortability and ownership evidence.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description adds real behavior: deterministic verdict enum values, per-check evidence, computed provenance and origin-classification coverage checks, and the fact that no graph is stored. It stays consistent with readOnlyHint. Minor gap: it does not say how missing optional sections affect the verdict beyond the INSUFFICIENT_EVIDENCE outcome.

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?

Two sentences, front-loaded with the action and its return contract, with the scope disclaimer placed last where it reads as a qualifier. The parenthetical section list is dense but earns its place by mapping to the input fields.

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 ten-field, zero-required, nested-object tool with no output schema, the description supplies the verdict vocabulary and evidence granularity an agent needs. It does not explain what a minimally sufficient submission looks like, but the INSUFFICIENT_EVIDENCE verdict signals that partial input is tolerated.

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?

Schema coverage is 100%, so the baseline is 3, but the description groups the ten fields into six named audit sections and explains that provenance/origin-classification coverage is computed from the 'assertions' array, which adds meaning beyond the flat schema. It still defers row-level schemas to SERVICE.md.

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 and resource ('Submits a knowledge-graph design record') plus the exact six audit sections and the three possible verdicts. The closing clause 'Audits the declared design; it stores and queries no graph' pins the boundary against graph-storage/query tools, so the agent knows this is an evaluator, not a datastore.

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 final sentence gives a clear when-not signal ('it stores and queries no graph'), implying use this only when you have a declared design manifest to evaluate. It does not name an explicit alternative tool or state prerequisites for a complete submission, but with no siblings listed the routing ambiguity is low.

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.