Skip to main content
Glama

Recommend for this project

recommend_for_task
Read-onlyIdempotent

Recommend tools for a task in the context of one saved project, so the user does not repeat the project background every turn. Reads the project's accepted/rejected tool lists, stage and known context; a tool this project rejected is never re-pushed; a tool already in use is judged keep / supplement / replace, each with an evidence_level (user_stated / client_observed / assistant_inferred). May answer need_clarification with exactly one question, or no_match when no catalog tool verifies the task — never pads with unverified candidates. Requires project_id and an Authorization: Bearer credential (owner key or project token); a key passed as a tool argument is never accepted.

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": {
      "project_id": "<project_id>"
    },
    "name": "recommend_for_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalNo
taskNo
limitNo
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

With annotations already covering readOnly/idempotent/closed-world, the description still adds substantial behavior: it reads accepted/rejected lists, stage and known context; it never re-pushes a rejected tool; it judges in-use tools as keep/supplement/replace with an evidence_level taxonomy; it refuses to pad with unverified candidates. It also discloses the auth model, including that a key passed as a tool argument is rejected, which is exactly the kind of non-obvious constraint an agent would otherwise trip on.

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?

Despite its length, the text is front-loaded with the purpose and then stacks only decision-relevant facts: rejection filtering, the keep/supplement/replace verdict, the evidence_level scale, and the two terminal outcomes. The parenthetical enumerations are dense but each earns its place; a slightly lighter phrasing would read better without losing content.

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?

There is no output schema, so the description correctly takes on the burden of describing return shapes, and it does so for all three outcomes plus the evidence_level values. Auth requirements and the surprising 'key as argument is never accepted' rule are covered. The remaining gap is the per-parameter guidance for the undocumented task fields, which matters for a nested-object tool.

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 coverage is 0% and the task object is nested, so the schema carries no field meanings at all; the description partially compensates by explaining that project_id must refer to a saved project and by hinting that task context includes stage, known context, and capability constraints via the rejected/in-use logic. However, goal, limit, confidence, input_type/output_type, hard_constraints and forbidden_capabilities are never addressed, leaving half the surface undocumented in both places.

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 opens with a specific verb and resource: recommend tools for a task scoped to 'one saved project,' plus the motivating benefit (user does not repeat project background). The project-scoping clause is what separates it from the stateless recommend_tools sibling, but that sibling is never named, so the differentiation is implicit rather than explicit.

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?

It states the triggering context clearly: a task tied to an already-saved project, so project background does not need restating. It also spells out the routing outcomes (need_clarification with exactly one question, no_match when nothing verifies) rather than leaving the agent to guess. It stops short of explicitly contrasting with the sibling recommend_tools for the no-project case.

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