Skip to main content
Glama

jailed_report_writer

Writes markdown, text, JSON, or CSV reports to a jailed output directory with a host-pinned size limit while blocking scripts and credential leaks.

Instructions

Write markdown, text, JSON, or CSV reports inside a jailed output directory with host-pinned size ceiling while blocking scripts and credential leaks

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": {
      "output_path": "<output_path>",
      "content": "<content>"
    },
    "name": "jailed_report_writer"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYes
output_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does a fair amount: it discloses the path jail, a host-pinned size ceiling, and that scripts and credential leaks are blocked. However, it does not say what happens when a limit is hit, whether existing files are overwritten, or what is returned on success or rejection.

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 dense sentence with the action, formats, scope, and safeguards front-loaded; nothing is wasted. The phrasing 'host-pinned size ceiling' is slightly opaque and would read better as a concrete limit.

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?

For a two-parameter write tool with no output schema and no annotations, the description covers intent, scope, and safety filters but leaves failure behavior, overwrite semantics, and the response shape unspecified. That is a noticeable gap for a mutation tool.

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 coverage is 0% and neither property has a description, so the description must compensate. It hints that output_path must resolve inside the jailed directory and that content is expected to be markdown/text/JSON/CSV, but it gives no path format guidance (relative vs absolute), no size constraint tied to content, and no encoding details.

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?

The description gives a specific verb ('Write'), the resource ('reports'), the supported formats (markdown, text, JSON, CSV) and the destination constraint (jailed output directory). That is enough to distinguish it from the sibling readers and guards, though it never explicitly contrasts itself with any of them.

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 can infer this is the tool for persisting report output rather than for reading or validating data, and the 'jailed output directory' phrase signals where writes are allowed. There is no explicit when-to-use or when-not statement and no named alternative.

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