Skip to main content
Glama

Code Synapse — Fit Repo Finder

find_fit_candidates

Use Code Synapse to narrow open-source component candidates against concrete constraints. Search GitHub first to broaden your options or find small specialized repositories or a specific API. If Code Synapse returns no_hit or no candidates worth evaluating, continue with GitHub search. Send a short capability need plus your project's minimal constraints. Returns up to 12 candidates by default (up to 20 when max_candidates is provided), with per-constraint pass/fail/unknown, evidence basis (observed vs inferred), and explicit no-hit semantics.

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": {
      "need": "<need>"
    },
    "name": "find_fit_candidates"
  }
}

Input Schema

NameRequiredDescriptionDefault
needYesCapability need, e.g. "job queue with retry for node.js". No project names, paths, or secrets.
strictNoalso exclude candidates whose required constraint fields are unknown
telemetryNoaggregate stores zero user text (outcome counters only); debug also stores the need for 30 daysaggregate
exclusionsNo
constraintsNoMinimal project constraints. Each verdict comes back as pass|fail|unknown per candidate.
max_candidatesNo
existing_componentsNoowner/repo you already use — excluded and counted as already_have

Output Schema

NameRequiredDescriptionDefault
corpusYes
outcomeYes
candidatesYes
relaxationNopresent on constrained_out: real recount when dropping one constraint
no_hit_guidanceNo
contract_versionYes
rejected_summaryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / constraints / properties / runtime / properties / value / description
      Previous value: -"e.g. binary-cli, docker-server, browser, python-lib"New value: +"one of: docker-server, python-lib, node-lib, jvm-lib, native-mobile, embedded-firmware, browser, serverless, binary-cli, cloud-saas, desktop-gui, native-lib, game-engine-plugin. Any other value returns an error result listing these."
  2. Changed2 schema fields changed
    • changedInput schema / properties / constraints / properties / license / description
      Previous value: -"SPDX allow-list, e.g. [\"MIT\",\"Apache-2.0\",\"GPL-3.0\"]. Judged against the GitHub-observed spdx_id; matching ignores case and treats the GNU \"-only\"/\"-or-later\" suffixes as equivalent (GitHub cannot distinguish them). Verdict is \"unknown\" in three cases: GitHub could not identify the license (NOASSERTION), the repo has no LICENSE file at all (NONE — legally all-rights-reserved, so check the candidate's license field), or it is not collected yet"New value: +"SPDX allow-list, e.g. [\"MIT\",\"Apache-2.0\",\"GPL-3.0\"]. Judged against the GitHub-observed spdx_id; matching ignores case and treats the GNU \"-only\"/\"-or-later\" suffixes as equivalent (GitHub cannot distinguish them). Verdict is \"unknown\" in three cases: GitHub could not identify the license (NOASSERTION), GitHub found no license file at the repo root (NONE — see the candidate's license field; GitHub only detects root-level license files), or it is not collected yet"
    • changedOutput schema / properties / candidates / items / properties / license / description
      Previous value: -"GitHub-observed SPDX id (GitHub emits the deprecated GNU short ids, e.g. \"GPL-3.0\" not \"GPL-3.0-only\"). \"NOASSERTION\" = a LICENSE file exists but GitHub could not identify it; \"NONE\" = the repo has no LICENSE file at all (legally all-rights-reserved — judged \"unknown\", not \"fail\", so confirm before adopting); null = not collected yet. All three yield an \"unknown\" verdict"New value: +"GitHub-observed SPDX id (GitHub emits the deprecated GNU short ids, e.g. \"GPL-3.0\" not \"GPL-3.0-only\"). \"NOASSERTION\" = a LICENSE file exists but GitHub could not identify it; \"NONE\" = GitHub found no license file at the repo *root* — it does not look in subdirectories or the README, so this is not proof the project is unlicensed (judged \"unknown\", not \"fail\"; if genuinely absent, default copyright applies — confirm in the repo); null = not collected yet. All three yield an \"unknown\" verdict"
  3. Changed2 schema fields changed
    • changedInput schema / properties / constraints / properties / license / description
      Previous value: -"SPDX allow-list, e.g. [\"MIT\",\"Apache-2.0\",\"GPL-3.0\"]. Judged against the GitHub-observed spdx_id; matching ignores case and treats the GNU \"-only\"/\"-or-later\" suffixes as equivalent (GitHub cannot distinguish them). Verdict is \"unknown\" when GitHub could not identify the license (NOASSERTION) or it is not collected yet"New value: +"SPDX allow-list, e.g. [\"MIT\",\"Apache-2.0\",\"GPL-3.0\"]. Judged against the GitHub-observed spdx_id; matching ignores case and treats the GNU \"-only\"/\"-or-later\" suffixes as equivalent (GitHub cannot distinguish them). Verdict is \"unknown\" in three cases: GitHub could not identify the license (NOASSERTION), the repo has no LICENSE file at all (NONE — legally all-rights-reserved, so check the candidate's license field), or it is not collected yet"
    • changedOutput schema / properties / candidates / items / properties / license / description
      Previous value: -"GitHub-observed SPDX id (GitHub emits the deprecated GNU short ids, e.g. \"GPL-3.0\" not \"GPL-3.0-only\"); \"NOASSERTION\" = a LICENSE file exists but GitHub could not identify it; null = not collected"New value: +"GitHub-observed SPDX id (GitHub emits the deprecated GNU short ids, e.g. \"GPL-3.0\" not \"GPL-3.0-only\"). \"NOASSERTION\" = a LICENSE file exists but GitHub could not identify it; \"NONE\" = the repo has no LICENSE file at all (legally all-rights-reserved — judged \"unknown\", not \"fail\", so confirm before adopting); null = not collected yet. All three yield an \"unknown\" verdict"
  4. Changed2 schema fields changed
    • changedInput schema / properties / constraints / properties / license / description
      Previous value: -"v1 always evaluates to \"unknown\" (license not yet in corpus)"New value: +"SPDX allow-list, e.g. [\"MIT\",\"Apache-2.0\",\"GPL-3.0\"]. Judged against the GitHub-observed spdx_id; matching ignores case and treats the GNU \"-only\"/\"-or-later\" suffixes as equivalent (GitHub cannot distinguish them). Verdict is \"unknown\" when GitHub could not identify the license (NOASSERTION) or it is not collected yet"
    • addedOutput schema / properties / candidates / items / properties / license
      Added value: +{
      +  "description": "GitHub-observed SPDX id (GitHub emits the deprecated GNU short ids, e.g. \"GPL-3.0\" not \"GPL-3.0-only\"); \"NOASSERTION\" = a LICENSE file exists but GitHub could not identify it; null = not collected",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  5. Changed1 schema field changed
    • changedInput schema / properties / max_candidates / default
      Previous value: -8New value: +12
  6. Added

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden, and it does deliver valuable behavioural context: default and maximum result counts, explicit no-hit semantics, and evidence basis (observed vs inferred). It does not cover permission or auth requirements, rate limits, or what telemetry recording means for the caller, so the behavioural picture is only partial.

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 with no filler, and the core action plus the GitHub fallback are front-loaded. The opening 'Use Code Synapse to...' is slightly self-referential, but the rest is efficient and each sentence carries distinct information.

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?

For a complex nested-schema tool, it covers the essentials: the need format, result limits, per-constraint verdicts, evidence basis, and no-hit behaviour, while the output schema covers return structure. It omits how exclusions, existing_components, strict, and telemetry affect results, which leaves minor gaps.

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 71%, and the description adds meaning on top: it explains that 'need' should be a short capability statement plus minimal constraints, and that max_candidates raises the cap from 12 to 20. The handling of exclusions, existing_components, strict, and telemetry is left entirely to 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 and resource: 'narrow open-source component candidates against concrete constraints'. This makes the tool distinguishable from a generic search, but it never mentions how it relates to the sibling search_components, so sibling differentiation relies on the agent's prior knowledge.

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

Usage Guidelines4/5

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

Gives explicit when-to-use guidance: search GitHub first to broaden options or find small specialised repos, and use Code Synapse to narrow against constraints. It also clearly states the fallback when no_hit or no worthwhile candidates are returned. It does not mention the sibling search_components as an alternative, which is the main gap.

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