Skip to main content
Glama

set_index_line

Write a persistent one-sentence summary for a memory record, enabling quick scanning and retrieval without re-reading full content each session.

Instructions

Write the index line for one record: the sentence a reader scans to decide whether to open it.

This is the half of memory_index that a model can do and a library cannot. Read needs_line from memory_index, write what each record CONCLUDED in a sentence, and store it here; it persists on the record, so the cost is paid once per record rather than once per session.

Aim for what the measurement rewards: name the specific thing and what was concluded about it, around twenty words. Not the question it answers -- that variant scored higher only on question-shaped queries, and lost 57% of its margin when the queries changed register, because it was being scored by a writer of the same shape.

An empty line is refused rather than stored: it would make the record unreachable while making the index look filled in.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
lineYes
Install Server

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 it does disclose meaningful behavior: the value persists on the record, the write cost is paid once per record, and empty lines are refused rather than stored. It does not mention overwrite behavior, error conditions, or permission requirements, so it is not fully transparent.

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?

The first sentence front-loads the core purpose, and each subsequent paragraph adds usable guidance: workflow, content strategy, and rejection behavior. It is longer than the typical tool description, but the extra length is mostly substantive rather than filler.

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?

The description is reasonably complete for a two-parameter write tool, covering what to write, how to format it, persistence, and empty-line rejection. But it leaves gaps that matter for correct invocation: what key represents, whether an existing line is overwritten, and what response or errors the agent should expect.

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%, so the description must compensate. It defines the line parameter very well: a conclusion-focused sentence around twenty words, with a counterexample about question-shaped lines. However, the key parameter is never explicitly defined as the record identifier, and there is no example showing how the two parameters relate.

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?

The description opens with a specific action and resource: Write the index line for one record, and defines what that line is for. It also distinguishes itself from memory_index by calling itself the half a model can do and a library cannot, which helps separate it from the sibling tool.

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 gives a clear workflow: read needs_line from memory_index, write what each record concluded, and store it here. It also tells the agent what style of line to write and explicitly warns against writing the question the record answers, which is practical selection guidance. It does not enumerate when not to use the tool beyond the related memory_index context.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DanceNitra/inspeximus'

If you have feedback or need assistance with the MCP directory API, please join our Discord server