Skip to main content
Glama
g-digital-by-Garrigues

EAD Factory MCP Server

Official

evidence_group_search

Read-onlyIdempotent

Searches evidence groups across case files with optional filters (status, dates, pagination). Use to find an evidenceGroupId or list groups pending sealing; for one group's full detail use evidence_group_get.

Instructions

Searches evidence groups across case files with optional filters (status, dates, pagination). Use to find an evidenceGroupId or list groups pending sealing; for one group's full detail use evidence_group_get.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filterYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changedv1.4.0
    • removedInput schema / properties / filter / properties / code / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / filter / properties / code / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / filter / properties / createdBy / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / filter / properties / createdBy / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / filter / properties / createdFrom / anyOf
      Previous value: -[
      -  {
      -    "format": "date-time",
      -    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "format": "date-time",
      +    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / filter / properties / createdUntil / anyOf
      Previous value: -[
      -  {
      -    "format": "date-time",
      -    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "format": "date-time",
      +    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / filter / properties / name / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / filter / properties / name / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / data / allOf
      Removed value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "_metadata": {
      -        "additionalProperties": {},
      -        "properties": {
      -          "currentPage": {
      -            "type": "number"
      -          },
      -          "pageSize": {
      -            "type": "number"
      -          },
      -          "totalPages": {
      -            "type": "number"
      -          },
      -          "totalRecords": {
      -            "type": "number"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "records": {
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "caseFileId": {
      -              "type": "string"
      -            },
      -            "code": {
      -              "type": "string"
      -            },
      -            "collectionMetadataId": {
      -              "type": "string"
      -            },
      -            "createdAt": {
      -              "type": "string"
      -            },
      -            "createdBy": {
      -              "type": "string"
      -            },
      -            "discarded": {
      -              "type": "boolean"
      -            },
      -            "evidences": {
      -              "additionalProperties": {},
      -              "properties": {
      -                "completed": {
      -                  "type": "number"
      -                },
      -                "failed": {
      -                  "type": "number"
      -                },
      -                "inProcess": {
      -                  "type": "number"
      -                },
      -                "total": {
      -                  "type": "number"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "groupId": {
      -              "type": "string"
      -            },
      -            "id": {
      -              "type": "string"
      -            },
      -            "metadata": {
      -              "additionalProperties": {
      -                "type": "string"
      -              },
      -              "propertyNames": {
      -                "type": "string"
      -              },
      -              "type": "object"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "status": {
      -              "type": "string"
      -            },
      -            "type": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "records": {
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "caseFileId": {
      -              "type": "string"
      -            },
      -            "code": {
      -              "type": "string"
      -            },
      -            "collectionMetadataId": {
      -              "type": "string"
      -            },
      -            "createdAt": {
      -              "type": "string"
      -            },
      -            "createdBy": {
      -              "type": "string"
      -            },
      -            "discarded": {
      -              "type": "boolean"
      -            },
      -            "evidences": {
      -              "additionalProperties": {},
      -              "properties": {
      -                "completed": {
      -                  "type": "number"
      -                },
      -                "failed": {
      -                  "type": "number"
      -                },
      -                "inProcess": {
      -                  "type": "number"
      -                },
      -                "total": {
      -                  "type": "number"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "groupId": {
      -              "type": "string"
      -            },
      -            "id": {
      -              "type": "string"
      -            },
      -            "metadata": {
      -              "additionalProperties": {
      -                "type": "string"
      -              },
      -              "propertyNames": {
      -                "type": "string"
      -              },
      -              "type": "object"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "status": {
      -              "type": "string"
      -            },
      -            "type": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • addedOutput schema / properties / data / properties
      Added value: +{
      +  "_metadata": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "currentPage": {
      +        "type": "number"
      +      },
      +      "pageSize": {
      +        "type": "number"
      +      },
      +      "totalPages": {
      +        "type": "number"
      +      },
      +      "totalRecords": {
      +        "type": "number"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "records": {
      +    "items": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "caseFileId": {
      +          "type": "string"
      +        },
      +        "code": {
      +          "type": "string"
      +        },
      +        "collectionMetadataId": {
      +          "type": "string"
      +        },
      +        "createdAt": {
      +          "type": "string"
      +        },
      +        "createdBy": {
      +          "type": "string"
      +        },
      +        "discarded": {
      +          "type": "boolean"
      +        },
      +        "evidences": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "completed": {
      +              "type": "number"
      +            },
      +            "failed": {
      +              "type": "number"
      +            },
      +            "inProcess": {
      +              "type": "number"
      +            },
      +            "total": {
      +              "type": "number"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "groupId": {
      +          "type": "string"
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "metadata": {
      +          "additionalProperties": {
      +            "type": "string"
      +          },
      +          "propertyNames": {
      +            "type": "string"
      +          },
      +          "type": "object"
      +        },
      +        "name": {
      +          "type": "string"
      +        },
      +        "status": {
      +          "type": "string"
      +        },
      +        "type": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  }
      +}
    • addedOutput schema / properties / data / type
      Added value: +"object"
  2. First observedv1.3.1

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, so safety is covered. The description adds behavioral context beyond annotations by specifying cross-case-file scope, optional filters, and the fact that results are sufficient for finding an ID but not full detail. No contradictions exist.

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?

Two sentences with no filler: the first states the core function and filters, the second gives the primary use case and routes to the sibling for full detail. Everything earns its place.

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?

The description covers the main purpose and key filters, and the output schema presumably documents return values. However, it does not clarify that the required 'filter' object can be empty to list all groups, nor does it explain how 'pending sealing' maps to a specific status value. These are meaningful gaps for a complex nested filter parameter.

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 0%, so the description must compensate. It mentions 'status, dates, pagination,' which maps to some filter properties, but it does not explain id, code, name, type, createdBy, caseFileId, metadata, or sort. The schema itself is self-descriptive, but the description only partially bridges the coverage gap.

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 states a specific action ('Searches evidence groups across case files') with a clear resource and scope. It also differentiates from the sibling evidence_group_get by noting that full detail should use that tool, so an agent can distinguish between them.

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?

It explicitly says when to use this tool: 'to find an evidenceGroupId or list groups pending sealing.' It also names the alternative for full detail, evidence_group_get, making the selection criteria unambiguous.

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