Skip to main content
Glama

palace_conflicts

Find knowledge-graph facts that may be stale or contradictory: groups sharing a subject and predicate but holding different objects, each with validity dates. Audit conflicts before fixing outdated facts.

Instructions

Find knowledge-graph facts that may be stale or contradictory: groups of facts with the same subject and predicate but different objects (for example two different values for 'project uses_database'). Each conflict lists the triples with their valid_from/valid_to dates and whether each is still current. Read-only. Use it to audit the graph; resolve a real conflict with palace_kg_invalidate on the outdated fact. For one entity's facts without conflict detection use palace_kg_query.

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": "palace_conflicts"
  }
}

Input Schema

NameRequiredDescriptionDefault
entityNoOnly check facts where this entity is the subject or object (optional; default is the whole graph)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.20.7
    • changedInput schema / properties / entity / description
      Previous value: -"Entity to inspect (optional)"New value: +"Only check facts where this entity is the subject or object (optional; default is the whole graph)"
  2. First observedv0.20.5

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does much of it: it declares the tool read-only, describes what each result contains (the triples, their valid_from/valid_to dates, and whether each is still current), and implies full-graph scope by default. What it does not cover is cost/volume characteristics — how many groups come back, or whether results are paginated or ranked — which matters for a whole-graph audit.

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 sentences, each doing distinct work: definition of the conflict, what a result looks like, then routing to the resolve and alternative tools. The core concept is front-loaded and nothing is repeated from the schema.

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?

For a zero-required-parameter read tool with no output schema, the description supplies the return shape, the read-only guarantee, the default scope, and the next-step tooling. An agent has everything needed to decide to call it and to interpret the result.

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 single parameter is fully documented in the schema (100% coverage), including the subject-or-object matching behavior and the whole-graph default. The description adds no parameter-specific detail beyond that, so the baseline 3 applies — the schema does the work and the description neither helps nor hurts.

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 ("Find knowledge-graph facts that may be stale or contradictory") and then defines the exact detection rule: same subject and predicate with different objects, with a concrete example. It is immediately distinguishable from palace_kg_query and palace_kg_stats without opening any schema.

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

Usage Guidelines5/5

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

Gives an explicit use case ("Use it to audit the graph"), names the follow-up tool for acting on a result (palace_kg_invalidate on the outdated fact), and names the alternative for the adjacent-but-different need (palace_kg_query for one entity's facts without conflict detection). Both the when and the when-not are covered.

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