Skip to main content
Glama

locus_mark_relevant

Mark a retrieved chunk as relevant to a query, persisting a reranker boost for future searches. Use it after a successful retrieval to reinforce good results.

Instructions

Mark a chunk as relevant for a query. Persists a +0.25 boost that the reranker applies on future retrieve calls for the same query. Use after a successful retrieval to reinforce good results.

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": {
      "chunk_id": "<chunk_id>",
      "query": "<query>"
    },
    "name": "locus_mark_relevant"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
chunk_idYes
store_pathNo.locus

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the key behavioral trait: the mark is persisted and changes future reranker scoring by a stated +0.25 for the same query. It is silent on whether repeated marks stack the boost, whether the mark is reversible/undoable, and what happens if chunk_id or query does not exist.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action, then the effect, then the usage cue. Nothing is redundant and no sentence can be dropped without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a small three-parameter mutation with no annotations and no output schema, the description covers purpose, effect, and timing well. It falls short on the undocumented store_path parameter and on idempotency/stacking of the boost, which materially affect how an agent should call it.

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%, so the description must compensate, and it only partially does: chunk_id and query are implied by 'mark a chunk ... for a query' but no format, matching rules, or case sensitivity are given. The third parameter, store_path (default .locus), is not mentioned at all.

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 (mark a chunk as relevant for a query) and adds the concrete mechanism (+0.25 boost applied by the reranker on future retrieves). It never names the obvious sibling locus_mark_irrelevant, so the contrast is implied by wording rather than stated.

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?

"Use after a successful retrieval to reinforce good results" gives a clear triggering context. There is no explicit when-not guidance, e.g., what to do when a chunk is wrong (presumably locus_mark_irrelevant) or whether repeated marking is appropriate.

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