Skip to main content
Glama
coding-language-library MCP server

coding-language-library MCP server

compare_candidates

Read-only

Compare stack IDs against a structured task profile to surface matches, failed requirements, and unknown constraints before selecting a stack.

Instructions

Compare stack IDs against one structured task profile, including failed and unknown constraints.

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": {
      "candidate_ids": "<candidate_ids>",
      "task_profile": "<task_profile>"
    },
    "name": "compare_candidates"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_profileYes
candidate_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.1/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe, non-mutating operation, so the description's added burden is lighter. It does add real value by disclosing that results span failed and unknown constraints, implying a per-constraint verdict structure. It does not say how candidates are ranked, whether partial matches are returned, or what happens with an invalid stack ID.

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?

One front-loaded sentence with the resource named before the qualifier; no filler or restatement of the name. It is efficient, though the trailing 'including failed and unknown constraints' clause carries a lot of weight for a single phrase.

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?

No output schema exists, so the description is the only place the return shape is signalled, and the 'failed and unknown constraints' clause is a useful partial disclosure of the comparison verdicts. However, with a complex nested task_profile and only readOnlyHint for annotations, an agent still lacks guidance on how the profile's fields drive the comparison or what a result entry contains.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and task_profile is a deeply nested object (task, target, unknowns, priorities, requirements, team_experience, existing_project) with no field-level documentation anywhere. The description only maps candidate_ids to 'stack IDs' and calls the profile 'structured', which is a small but genuine clarification given the parameter name says 'candidate'. For a nested schema this under-documented, the description should be compensating and it is not.

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?

The description gives a specific verb ('Compare') and resource ('stack IDs against one structured task profile'), so an agent can tell this is an evaluation/scoring tool rather than a lookup. It does not explicitly distinguish itself from plausible siblings like get_suitability_evidence or recommend_stack, which keeps 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 Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no named alternative that would route the agent elsewhere. The only hint is the clause about failed and unknown constraints, which describes output content rather than invocation conditions.

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