Skip to main content
Glama
EAD Factory MCP Server

EAD Factory MCP Server

Official

evidence_case_file_relationship_assign

Assign a relationship to a case file, linking it to an external or related entity reference for traceability. Use after case file creation to track the matter, client, or system record it belongs to.

Instructions

Assigns a relationship on a case file, linking it to an external/related entity reference for traceability. Use after creating the case file when your workflow tracks which matter, client, or system record it belongs to. Requires: evidence_case_file_create → caseFileId.

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": {
      "caseFileId": "<caseFileId>",
      "itemType": "<itemType>",
      "itemValue": "<itemValue>"
    },
    "name": "evidence_case_file_relationship_assign"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemTypeYes
itemValueYes
caseFileIdYesMANDATORY. UUID of the parent case file. Obtain from evidence_case_file_create.

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.5.0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "additionalProperties": {},
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "data"
      +  ],
      +  "type": "object"
      +}
  2. First observedv1.3.1

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the mutation and safety profile is largely covered. The description adds the prerequisite dependency chain, which is real value. It does not, however, explain the consequence of idempotentHint=false — whether re-assigning the same relationship duplicates it or errors — nor whether an existing assignment is replaced.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences that are front-loaded with the action and end with the dependency, which is a sensible order. 'For traceability' is padding, and the 'matter, client, or system record' enumeration costs space while setting an expectation the schema contradicts.

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?

An output schema exists, so return values need not be explained. But for a 3-parameter, fully-required mutation tool with 33% schema coverage, the description leaves the key inputs (itemType, itemValue) undefined and describes a linking target that the enum forbids — an agent cannot confidently construct the call from this.

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 only 33%, so the description must compensate for itemType and itemValue — and it does not. itemType's single enum value (CHAT_CONVERSATION) is never mentioned, and itemValue's format (a conversation ID?) is left unexplained; the 'external/related entity reference' phrasing actively suggests broader targets than the enum permits. Only caseFileId is reinforced, which the schema already documents.

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?

States a specific verb and resource ('Assigns a relationship on a case file') and the effect ('linking it to an external/related entity reference'). An agent can tell this apart from create/get/update siblings. It loses a point because the described linkage targets ('matter, client, or system record') do not match the schema's sole allowed itemType of CHAT_CONVERSATION, which muddies what is actually being linked.

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

Usage Guidelines3/5

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

Gives a sequencing rule ('Use after creating the case file') and a general workflow condition, which is useful implied guidance. However, there is no when-not guidance, no statement about what happens if a relationship already exists, and the stated use case (matter/client/system record) is not achievable given the enum, so the guidance is only partially trustworthy.

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

Deploy Server

Other Tools