Skip to main content
Glama

CollectSEA

Find failure precedents for an existing app

analyze_existing_app
Read-onlyIdempotent

Analyze an existing app using observed behavior, README, architecture notes, configuration or source snippets. Provide a public GitHub repository_url to import selected context, or inspect a private repository locally and submit relevant text. Code is never executed and the running app is not scanned. Returns source context, behavior signals, historical precedents and safeguards to verify.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filesNoRelevant text files. Description plus file contents must fit within 25,000 characters and the 32 KB request limit. Remove credentials and personal data.
proposalNoObserved app behavior, integrations, data flows, permissions and deployment context. Optional when files are supplied.
max_resultsNo
repository_urlNoPublic GitHub repository home URL, e.g. https://github.com/owner/app. Imports a small selection of docs, config and source at one commit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent and non-destructive, so the safety profile is covered. The description adds genuinely useful behavior beyond that: static analysis only, no code execution, no scanning of the live app, and a one-commit snapshot import for public repos. It stops short of describing result format or limits on the returned precedents.

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?

Four sentences, front-loaded with purpose, then intake paths, then the important no-execution caveat, then outputs. Dense but every sentence carries information; the middle sentence is long but not padded.

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 no output schema, the description correctly closes the loop by naming what comes back (source context, behavior signals, historical precedents, safeguards to verify). Combined with the privacy/limit notes in the schema, an agent has enough to call this correctly; only result volume/shape is unspecified.

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 75%, and the description complements it by explaining the anyOf intake alternatives: import a public GitHub repo URL, or inspect a private repo locally and submit text via files/proposal. It clarifies the public-only nature of repository_url and the private-repo workaround, though max_results is never acknowledged.

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 ('Analyze an existing app') and enumerates the evidence types it consumes (observed behavior, README, architecture notes, config, source snippets), which implicitly separates it from analyze_design. It does not explicitly name any sibling, so an agent still has to infer the boundary with list_failure_patterns or analyze_design.

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?

It explains the two intake paths (public GitHub URL import vs. submitting text from a locally inspected private repo) and states the hard constraint that code is never executed and the running app is not scanned. However, it gives no explicit when-to-use / when-not-to-use guidance relative to the failure-precedent and incident siblings.

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.

Resources