Skip to main content
Glama
EngDawood

islamweb-mcp

by EngDawood

Compile JSONL crawl output into one JSON array

islamweb_compile_json

Compiles a crawled JSONL dataset into a sorted, pretty-printed JSON array file. Use after a crawl to produce a clean snapshot of the compiled data.

Instructions

Reads a JSONL dataset file (one entry per line) and writes it out as a single sorted, pretty-printed JSON array file. Run this once a crawl has finished (or whenever you want a fresh snapshot).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jsonFileNodefaults to data/lisan-al-arab.json
jsonlFileNodefaults to data/lisan-al-arab.jsonl

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It transparently describes the input-to-output transformation, sorting, and pretty-printing. It does not mention overwriting an existing output file or error behavior, but the 'fresh snapshot' phrasing implies regeneration, making this a solid but not exhaustive disclosure.

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?

The description is two tight sentences with no filler. The core transformation is front-loaded, and the usage guidance is a natural second sentence.

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 simple tool with two optional parameters and no output schema, the description covers the essential context: input format, output format, sorting, and when to run it. Minor details like return value and overwrite behavior are absent but not critical for correct invocation.

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 parameter names plus default-value descriptions make the meaning of jsonlFile and jsonFile clear enough. The description adds no further parameter-specific semantics, so the baseline score of 3 applies.

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 states a specific operation: read a JSONL file and write a sorted, pretty-printed JSON array. It adds meaningful details like 'one entry per line' and clearly differentiates this post-processing tool from the crawl/search siblings.

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?

The description gives clear timing guidance: run after a crawl finishes or whenever a fresh snapshot is needed. It does not explicitly discuss alternatives or exclusions, but the tool's role is unambiguous enough that no direct sibling competes with it.

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