Skip to main content
Glama
@event4u/agent-config

@event4u/agent-config

Official

suggest_skill_for_task

Read-onlyIdempotent

Rank skills against a free-form task when the needed skill is missing from the host catalogue, using deterministic keyword scoring over SKILL.md frontmatter.

Instructions

Rank skills against a free-form task by deterministic keyword scoring over SKILL.md frontmatter. Use when the skill you need is absent from the host's catalogue — one measured host dropped 402 entries from its model-visible list — so asking by name is impossible and asking by task is not. Each row gives a name, score, personas and the skill's own description, its routing criteria including any clause pointing elsewhere. Choose by reading the rows, then open at most two bodies with read_skill. Read-only: no shell, no writes, no bodies.

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": {
      "task": "<task>"
    },
    "name": "suggest_skill_for_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYesThe task to match skills against.
limitNoMaximum skills to return; the default is a pre-registered recall depth, not a round number.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv16.5.0
    • changedInput schema / properties / limit / default
      Previous value: -5New value: +8
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of skills to return. Defaults to 5."New value: +"Maximum skills to return; the default is a pre-registered recall depth, not a round number."
    • changedInput schema / properties / task / description
      Previous value: -"Free-form description of the task to match skills against."New value: +"The task to match skills against."
  2. Addedv14.2.0
  3. Removedv9.11.0
  4. Changed2 schema fields changedv1.0.2
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of skills to return. Defaults to 5."
    • addedInput schema / properties / task / description
      Added value: +"Free-form description of the task to find a skill for."
  5. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, closed-world and non-destructive, so the safety baseline is covered. The description still adds real behavior beyond that: deterministic (not semantic/LLM) scoring, the contents of each result row, and the explicit absence of shell access and skill bodies. Minor gap: nothing about ordering, tie-breaking, or cost of a long task string.

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?

Core mechanism is front-loaded and the operative guidance (read rows, open at most two bodies) is compact. Slight cost from the embedded anecdote about a host dropping 402 entries and the somewhat tangled phrase 'its routing criteria including any clause pointing elsewhere', which justify rather than instruct.

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 carries the return-value burden and does so by enumerating the fields of each row (name, score, personas, description, routing criteria). What remains unstated is ordering, tie handling, and how default recall depth interacts with a supplied limit.

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 description coverage is 100%, so both `task` and `limit` are already documented, including the unusual note that the default is a pre-registered recall depth. The description mentions 'free-form task' but adds no further syntax, length, or limit behavior beyond what the schema provides. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource plus the mechanism: 'Rank skills against a free-form task by deterministic keyword scoring over SKILL.md frontmatter.' It also implicitly separates itself from name-based lookup by explaining that asking by name is impossible when the entry is absent from the catalogue.

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

Usage Guidelines5/5

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

Gives an explicit trigger ('Use when the skill you need is absent from the host's catalogue') and an explicit follow-up workflow: 'Choose by reading the rows, then open at most two bodies with read_skill.' It even names a downstream tool and caps its use.

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