Skip to main content
Glama
ownasquare

Context Loom

by ownasquare

explain_selection

Reveals why selected or omitted resources were included, with score components and fidelity gates, so you can audit context selection decisions.

Instructions

Explain selected and omitted resources with score components and fidelity gates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hydration_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It implies a read/explain operation but never states that it is non-mutating, whether it requires a valid hydration_id, or what happens on an unknown id. Only the vague mention of 'fidelity gates' gestures at behavior.

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 tight sentence with the action and output front-loaded, no filler. It is arguably too terse given the undefined jargon, but structurally efficient.

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?

An output schema exists, so return values needn't be explained, and the tool is a simple one-parameter read. Still, with no annotations and an undocumented parameter, the description leaves the agent without enough to confidently invoke 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% and the single required parameter 'hydration_id' is undocumented in both schema and description. The description adds no meaning about what a hydration id is or where the caller obtains it, so it fails to compensate for the coverage gap.

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 ('Explain') and resource ('selected and omitted resources'), plus the nature of the output ('score components and fidelity gates'). It distinguishes itself from siblings like get_context and thread_stats, though the jargon is unexplained.

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 guidance on when to call this versus alternatives such as get_context, nor any prerequisite or trigger condition. The agent must infer usage purely from the name.

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