Skip to main content
Glama

generate_rag_jsonl

Read-onlyIdempotent

Convert rag-index.json content (JSON array) to rag-index.jsonl (one JSON object per line)

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": {
      "rag_index_json": "<rag_index_json>"
    },
    "name": "generate_rag_jsonl"
  }
}

Input Schema

NameRequiredDescriptionDefault
rag_index_jsonYesString contents of rag-index.json (must be a JSON array)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered by structured data. The description adds the meaningful behavioral detail that output is one JSON object per line, but says nothing about failure behavior for malformed or non-array input.

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?

A single front-loaded sentence naming input format, output format, and line structure with no filler. It is appropriately sized for a trivial transform.

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 pure one-parameter format conversion with full schema coverage and safety annotations, nothing essential is missing. Error handling on invalid JSON is the only unaddressed area, which is minor given the simplicity.

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 100% and the single parameter's description already states it must be a JSON array, so the description's parenthetical largely restates structured data. Baseline 3 applies since the schema does the heavy lifting and no syntax or edge-case detail is added.

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 (Convert) and both the source format (rag-index.json, JSON array) and the target format (rag-index.jsonl, one JSON object per line). The transformation is unambiguous, though it does not reference the sibling file-generation tools to clarify its place in that workflow.

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?

Usage is only implied: an agent infers it should call this when it holds rag-index.json content and needs JSONL output. There is no explicit when-to-use statement, no prerequisite or sequencing guidance relative to generate_ai_readiness_files, and no exclusions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.