Skip to main content
Glama

locus_mark_irrelevant

Mark a chunk as irrelevant to a query and persist a reranking penalty so consistently poor results are suppressed in future retrievals for that query.

Instructions

Mark a chunk as irrelevant for a query. Persists a -0.40 penalty that the reranker applies on future retrieve calls for the same query. Use to suppress consistently bad 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_irrelevant"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
chunk_idYes
store_pathNo.locus

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A4/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 substantial work: it discloses the persistence of a -0.40 penalty and that the reranker applies it on future retrieve calls scoped to the same query. It does not say whether repeated calls compound the penalty, whether the mark can be undone, or what the call returns.

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: action first, mechanism second, usage third. No filler, and the most decision-relevant information is front-loaded.

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 three-parameter mutation tool with no annotations and no output schema, the description covers the side effect, its magnitude, and its scope well enough to call correctly. The gaps are the undocumented store_path and the absence of any statement about the response or reversibility.

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 0%, so the description must compensate. It adds real meaning for query by explaining that the penalty is scoped to that query's future retrieves, and implies chunk_id targets a single chunk, but store_path is never mentioned in the description or schema, leaving one of three parameters undocumented.

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 ('Mark a chunk as irrelevant for a query') with an explicit scope, and the polarity ('irrelevant') makes the counterpart sibling locus_mark_relevant unambiguous without naming it.

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

Usage Guidelines3/5

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

'Use to suppress consistently bad results' gives a clear positive condition for invoking it, but there is no explicit when-not guidance, no mention of locus_mark_relevant as the inverse action, and no note on how this differs from forgetting or annotating a chunk.

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