Skip to main content
Glama
RepoAssay

Repo Test Architect

Collect Project Findings

collect_project_findings
Read-onlyIdempotent

Retrieves concise top findings from an existing project-audits/v1 artifact. Summarizes repository test architecture issues without re-running analysis.

Instructions

Collect concise top findings from an existing project-audits/v1 artifact. analyze_repository already includes this result.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectAuditsYesA project-audits/v1 artifact.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rootYes
summaryYes
findingsYes
schemaVersionYes
unsupportedProjectsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$id": "project-findings-v1.schema.json",
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "findings": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "action": {
      +            "enum": [
      +              "move",
      +              "split",
      +              "keep"
      +            ]
      +          },
      +          "adapterId": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "category": {
      +            "enum": [
      +              "missing-coverage",
      +              "weak-existing-coverage",
      +              "misplaced-coverage",
      +              "low-value-direct-test",
      +              "blocked-project"
      +            ]
      +          },
      +          "currentOwner": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "evidence": {
      +            "items": {
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "existingTestPaths": {
      +            "items": {
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "id": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "kind": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "path": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "priority": {
      +            "type": "integer"
      +          },
      +          "projectId": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "projectRoot": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "rationale": {
      +            "items": {
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "severity": {
      +            "enum": [
      +              "high",
      +              "medium",
      +              "low"
      +            ]
      +          },
      +          "suggestedOwner": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "target": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "targetId": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "testFile": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "testLevel": {
      +            "enum": [
      +              "unit",
      +              "integration",
      +              "component",
      +              "ui",
      +              "none"
      +            ]
      +          },
      +          "title": {
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "category",
      +          "severity",
      +          "priority",
      +          "projectId",
      +          "projectRoot",
      +          "title",
      +          "rationale",
      +          "evidence",
      +          "existingTestPaths"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "root": {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "schemaVersion": {
      +      "const": "project-findings/v1"
      +    },
      +    "summary": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "auditCoverage": {
      +          "enum": [
      +            "complete",
      +            "partial",
      +            "none"
      +          ]
      +        },
      +        "auditedProjectCount": {
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "blockedProjectCount": {
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "categoryCounts": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "blocked-project": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "low-value-direct-test": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "misplaced-coverage": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "missing-coverage": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "weak-existing-coverage": {
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "missing-coverage",
      +            "weak-existing-coverage",
      +            "misplaced-coverage",
      +            "low-value-direct-test",
      +            "blocked-project"
      +          ],
      +          "type": "object"
      +        },
      +        "displayedFindingCount": {
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "findingCount": {
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "highSeverityCount": {
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "maxFindings": {
      +          "minimum": 1,
      +          "type": "integer"
      +        },
      +        "placementFindingCount": {
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "projectCount": {
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "unsupportedProjectCount": {
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "unsupportedReasons": {
      +          "items": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "type": "array",
      +          "uniqueItems": true
      +        }
      +      },
      +      "required": [
      +        "projectCount",
      +        "auditedProjectCount",
      +        "unsupportedProjectCount",
      +        "auditCoverage",
      +        "unsupportedReasons",
      +        "findingCount",
      +        "displayedFindingCount",
      +        "maxFindings",
      +        "highSeverityCount",
      +        "placementFindingCount",
      +        "blockedProjectCount",
      +        "categoryCounts"
      +      ],
      +      "type": "object"
      +    },
      +    "unsupportedProjects": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "adapterMatches": {
      +            "type": "array"
      +          },
      +          "ecosystems": {
      +            "type": "array"
      +          },
      +          "languages": {
      +            "type": "array"
      +          },
      +          "projectId": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "projectRoot": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "reason": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "supportStatusReason": {
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "projectId",
      +          "projectRoot",
      +          "reason",
      +          "ecosystems",
      +          "languages",
      +          "adapterMatches",
      +          "supportStatusReason"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "schemaVersion",
      +    "root",
      +    "summary",
      +    "findings",
      +    "unsupportedProjects"
      +  ],
      +  "title": "Project Findings Artifact",
      +  "type": "object"
      +}
  2. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is fully covered. The description adds only that the operation is a pure transform over an existing artifact, which is mildly useful but not behavioral depth beyond the annotations; no mention of size limits, cost, or failure modes.

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 short sentences with zero padding; the primary purpose is front-loaded and the sibling caveat follows immediately. Every sentence earns its place.

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?

With a rich annotation set, full schema coverage, and an output schema covering return values, the description supplies what remains: what it consumes and its relation to analyze_repository. Only the concrete nature of the returned findings is unspecified, which is a minor gap.

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 100% with a single documented parameter, so the schema already carries the semantics. The description restates the artifact identity but adds no format, versioning, or shape guidance beyond the schema.

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+resource ('Collect concise top findings') and names the exact input artifact type (project-audits/v1), which tells an agent what it operates on. It also names the sibling analyze_repository as an overlapping alternative. Slightly ambiguous what 'findings' concretely means, keeping it below 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 Guidelines3/5

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

The clause 'analyze_repository already includes this result' gives an implicit when-not-to-use signal, steering agents away from redundant calls. However, it never states when this tool IS the right choice (e.g., when you already hold an audit artifact and want the digest without re-analyzing), nor names other siblings like summarize_project_audits.

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