Skip to main content
Glama
Open-Detector MCP

Open-Detector MCP

by eslam-allam

read_paragraphs

Fetch exact paragraph text by index for targeted rewriting without loading the whole paper. Use stable indices from detection results to edit specific paragraphs.

Instructions

Fetch exact paragraph text by index (for rewriting without loading the whole paper).

Indices come from detect_ai_file / get_rewrite_plan and are stable for the same file and exclude_references setting. Request at most 50 at a time.

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": {
      "path": "<path>",
      "indices": "<indices>"
    },
    "name": "read_paragraphs"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
indicesYes
exclude_referencesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations present, the description carries the load and does disclose key behavior: indices are stable only for the same file and exclude_references setting, and requests are capped at 50 indices at a time. Not covered: read-only confirmation, behavior on stale/out-of-range indices, and the shape of the returned text.

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, front-loaded with purpose, then provenance, then the batching constraint. No filler and no restatement of the tool name.

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?

No output schema and no annotations, so the description should describe the return value and failure modes for an invalid or stale index. It covers provenance and batching well but leaves the agent guessing about the response format and error behavior.

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 for all three parameters. It adds strong meaning for indices (their source and stability conditions) and hints at exclude_references via the stability caveat, but never states what the flag actually does to the output or why path must be the same file the indices came from.

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?

Names a specific verb and resource ("Fetch exact paragraph text by index") and immediately states the intent ("for rewriting without loading the whole paper"), which cleanly separates it from bulk-reading siblings like detect_ai_file and get_rewrite_plan that produce the indices.

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?

Explains the scenario that selects this tool (targeted paragraph access during rewriting) and names the producers of the required indices (detect_ai_file / get_rewrite_plan), plus a concrete batching rule of at most 50 indices. It stops short of explicit when-not-to-use guidance, but the usage context is unambiguous.

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