Skip to main content
Glama

CleanApp

Preview a problem report

cleanapp_prepare_report
Read-onlyIdempotent

Creates a draft preview of an observed physical or digital problem using supplied details. The preview includes supplied source context and the proposed publication and notice permissions. Report intake requires separate approval and submission.

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": {
      "domain": "<domain>",
      "problem_type": "<problem_type>",
      "title": "<title>",
      "description": "<description>"
    },
    "name": "cleanapp_prepare_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesA factual short title, without personal identifiers.
domainYesPhysical place/infrastructure/environment issue, or digital product/service issue.
handlingNoInclude the requested publication and notice permissions in the exact preview. Obtain explicit user approval for those permissions before submitting; private review remains available.
languageNoLanguage of the report; preserve the user’s language.en
latitudeNoOptional coordinates explicitly supplied or approved by the user.
longitudeNo
source_urlNoCaller-provided public reference for the original observation. Do not copy a private chat URL, token or unrelated conversation. No URL is fetched during preparation.
descriptionYesWhat the user observed, when and impact. Do not include secrets, private contact details or unrelated chat.
observed_atNoWhen the problem was observed, only if explicitly provided, as RFC3339 with a timezone. Never substitute submission time or source publication time.
problem_typeYesThe observed problem category.
location_textNoUser-provided place, street, landmark, or area for a physical issue. Do not infer user location.
product_or_siteNoName of the affected product, app, website, or service for a digital issue.
source_platformNoExplicitly supplied platform of the original observation, e.g. X or GitHub. Separate from the affected product and the submitting AI client; leave unknown when not provided.
reporter_contextNoCaller-provided relationship to the observation. This is a claim, not verified authorship or CleanApp evidence classification.
submission_clientNoExplicitly supplied submitting AI client. This label is caller-claimed, not a verified account identity; do not infer it from the affected product or source platform.
requires_redactionNoSet true when the user requests redaction or declares private information. Omitting this does not bypass CleanApp privacy checks.
source_published_atNoPublication time of the referenced source, only if explicitly provided, as RFC3339 with a timezone. This is separate from when the problem was observed.

Output Schema

NameRequiredDescriptionDefault
viewYes
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / observed_at
      Added value: +{
      +  "description": "When the problem was observed, only if explicitly provided, as RFC3339 with a timezone. Never substitute submission time or source publication time.",
      +  "format": "date-time",
      +  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +  "type": "string"
      +}
    • addedInput schema / properties / reporter_context
      Added value: +{
      +  "description": "Caller-provided relationship to the observation. This is a claim, not verified authorship or CleanApp evidence classification.",
      +  "enum": [
      +    "firsthand",
      +    "relayed",
      +    "unknown"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / source_platform
      Added value: +{
      +  "description": "Explicitly supplied platform of the original observation, e.g. X or GitHub. Separate from the affected product and the submitting AI client; leave unknown when not provided.",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / source_published_at
      Added value: +{
      +  "description": "Publication time of the referenced source, only if explicitly provided, as RFC3339 with a timezone. This is separate from when the problem was observed.",
      +  "format": "date-time",
      +  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +  "type": "string"
      +}
    • addedInput schema / properties / source_url
      Added value: +{
      +  "description": "Caller-provided public reference for the original observation. Do not copy a private chat URL, token or unrelated conversation. No URL is fetched during preparation.",
      +  "maxLength": 2048,
      +  "type": "string"
      +}
    • addedInput schema / properties / submission_client
      Added value: +{
      +  "description": "Explicitly supplied submitting AI client. This label is caller-claimed, not a verified account identity; do not infer it from the affected product or source platform.",
      +  "enum": [
      +    "grok",
      +    "chatgpt",
      +    "claude",
      +    "codex",
      +    "other"
      +  ],
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / handling
      Added value: +{
      +  "additionalProperties": false,
      +  "default": {
      +    "notices": "automatic",
      +    "publication": "automatic"
      +  },
      +  "description": "Include the requested publication and notice permissions in the exact preview. Obtain explicit user approval for those permissions before submitting; private review remains available.",
      +  "properties": {
      +    "notices": {
      +      "description": "None permits no responsible-party notices. Automatic permits eligible notices after CleanApp checks the report; a queued notice is not a confirmed send.",
      +      "enum": [
      +        "none",
      +        "automatic"
      +      ],
      +      "type": "string"
      +    },
      +    "publication": {
      +      "description": "Private keeps the report in private review. Automatic permits an eligible public report only after CleanApp checks the report.",
      +      "enum": [
      +        "private",
      +        "automatic"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "publication",
      +    "notices"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / requires_redaction
      Added value: +{
      +  "description": "Set true when the user requests redaction or declares private information. Omitting this does not bypass CleanApp privacy checks.",
      +  "type": "boolean"
      +}
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the safety profile is largely covered. The description adds useful context — that the preview reproduces supplied source context and the proposed publication/notice permissions, and that nothing is submitted — but does not explain that drafts are ephemeral or how they relate to report IDs.

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?

Three short sentences, front-loaded with the purpose and finishing with the submission boundary. 'Using supplied details' is mildly redundant, but there is little waste overall.

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 17-parameter, nested-object tool with an output schema and full annotations, the description covers purpose, the no-submission boundary, and the approval requirement. The heavy lifting on parameter behavior is left to a well-documented schema, which is appropriate.

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 94%, so nearly every parameter is already documented with meaning and constraints. The description only gestures at 'supplied details' and 'proposed publication and notice permissions,' which the nested handling object's own description already covers in more depth. Baseline 3 applies.

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 and resource — 'Creates a draft preview of an observed physical or digital problem' — and contrasts it with intake/submission, which implicitly separates it from cleanapp_submit_report. It stops short of naming that sibling outright, so an agent must infer the pairing.

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?

'Report intake requires separate approval and submission' establishes the workflow context: this call previews, a later call submits. That is clear when-to-use guidance, though the alternative tool is described only obliquely rather than named.

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.

Resources