Skip to main content
Glama

Algorithm Finder

Algorithm Compare

algorithm_compare
Read-onlyIdempotent

Compare candidate algorithms against the facts of YOUR instance and get a verdict. Pass method names (e.g. ["dijkstra","bellman-ford"]) or a problem description, plus constraints such as {"negative_weights": true, "query": "single_source"}, {"stable": true, "key_type": "integer_small_range"}, {"exact": false, "dimensions": "high"}, {"false_positives_ok": true, "dynamic": "fully_dynamic"}. Each candidate gets satisfied / violated / unknown per constraint, read from a curated table cited to textbooks, papers and library docs; unknown means the table records nothing and is never guessed. Returns the winner (or "conditional" with the unknowns named, or "none_compatible"), each candidate's bounds and when-not advice, and the decisive questions you have not answered that would change the choice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
namesNoMethod names or aliases to compare (2-10), e.g. ["dijkstra", "bellman-ford", "johnson"].
problemNoInstead of names: a problem description; the top curated candidates for it are compared.
constraintsNoFacts about your instance. Keys: negative_weights, negative_cycles, weighted, directed, acyclic, bipartite (booleans); graph_density sparse|dense; query single_pair|single_source|all_pairs; exact, worst_case_guarantee, deterministic, false_positives_ok, online, streaming, in_memory, stable, sorted_input, ordered_queries, approximate_match, parallel, distributed, integer_capacities, preemption, precedence, recall, known_distribution, heuristic_available, continuous_variables, linear, convex, differentiable (booleans); dynamic static|insert_only|fully_dynamic; memory tight|normal; key_type integer_small_range|integer|comparable|string|vector; dimensions low|high; metric euclidean|cosine_or_inner_product|jaccard|hamming|edit_distance|general_metric; pattern_count one|many; scale small|medium|large|huge; machines single|multiple; objective max_lateness|num_late_jobs|total_completion_time|makespan|feasibility|total_cost|max_matching_size|fairness.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.