Skip to main content
Glama

Submit incident report

submit_report

File a manual geolocated incident report (same as POST /api/reports). Reports are moderated before they appear publicly. Errors: 'report submission disabled' if the caller is blocked; 'rate limited' past 20 reports/hour via MCP.

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": {
      "title": "<title>",
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "submit_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesLatitude, -90 to 90
lonYesLongitude, -180 to 180
titleYesShort headline, 1–200 chars
categoryNoIncident category (default 'report')
severityNolow | medium | high | critical (default 'medium')
descriptionNoDetails, up to 2000 chars

Output Schema

NameRequiredDescriptionDefault
reportYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / report / properties / status / enum
      Previous value: -[
      -  "pending",
      -  "active",
      -  "resolved",
      -  "hidden"
      -]New value: +[
      +  "pending",
      +  "active",
      +  "resolved",
      +  "hidden",
      +  "archived"
      +]
  2. Changed7 schema fields changed
    • addedInput schema / properties / category / description
      Added value: +"Incident category (default 'report')"
    • addedInput schema / properties / description / description
      Added value: +"Details, up to 2000 chars"
    • addedInput schema / properties / lat / description
      Added value: +"Latitude, -90 to 90"
    • addedInput schema / properties / lon / description
      Added value: +"Longitude, -180 to 180"
    • addedInput schema / properties / severity / description
      Added value: +"low | medium | high | critical (default 'medium')"
    • addedInput schema / properties / title / description
      Added value: +"Short headline, 1–200 chars"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "report": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "approximate": {
      +          "type": "boolean"
      +        },
      +        "category": {
      +          "type": "string"
      +        },
      +        "confirms": {
      +          "type": "number"
      +        },
      +        "count": {
      +          "type": "number"
      +        },
      +        "description": {
      +          "type": "string"
      +        },
      +        "flags": {
      +          "type": "number"
      +        },
      +        "group": {
      +          "type": "string"
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "lat": {
      +          "type": "number"
      +        },
      +        "lon": {
      +          "type": "number"
      +        },
      +        "nhood": {
      +          "type": "string"
      +        },
      +        "region": {
      +          "type": "string"
      +        },
      +        "reporter": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "confirmed": {
      +              "type": "number"
      +            },
      +            "handle": {
      +              "type": "string"
      +            },
      +            "reports": {
      +              "type": "number"
      +            },
      +            "role": {
      +              "anyOf": [
      +                {
      +                  "enum": [
      +                    "curator",
      +                    "moderator"
      +                  ],
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "required": [
      +            "handle",
      +            "role",
      +            "reports",
      +            "confirmed"
      +          ],
      +          "type": "object"
      +        },
      +        "resolves": {
      +          "type": "number"
      +        },
      +        "severity": {
      +          "type": "string"
      +        },
      +        "source": {
      +          "type": "string"
      +        },
      +        "sources": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "status": {
      +          "enum": [
      +            "pending",
      +            "active",
      +            "resolved",
      +            "hidden"
      +          ],
      +          "type": "string"
      +        },
      +        "time": {
      +          "type": "string"
      +        },
      +        "title": {
      +          "type": "string"
      +        },
      +        "type": {
      +          "type": "string"
      +        },
      +        "url": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "source",
      +        "category",
      +        "type",
      +        "title",
      +        "lat",
      +        "lon",
      +        "time",
      +        "severity"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "report"
      +  ],
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / category / enum
      Previous value: -[
      -  "crime",
      -  "fire",
      -  "disaster",
      -  "weather",
      -  "unrest",
      -  "health",
      -  "infra",
      -  "report"
      -]New value: +[
      +  "crime",
      +  "fire",
      +  "disaster",
      +  "weather",
      +  "unrest",
      +  "health",
      +  "infra",
      +  "alert",
      +  "report"
      +]
  4. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations cover the mutation/safety profile (readOnly=false, destructive=false, idempotent=false), yet the description adds genuinely new behavior: submissions are moderated before becoming public, blocked callers get 'report submission disabled', and there is a 20-per-hour MCP rate limit. The main gap is that it does not say what happens on success (e.g., pending status or identifier returned), though an output schema exists to cover that.

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?

Two compact sentences: the action and endpoint equivalence come first, then moderation behavior and error conditions. Every clause carries information an agent needs, with no restatement of the tool name.

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 six-parameter mutation tool with full schema coverage and an output schema, the description supplies the important non-schema context: moderation delay, blocked-caller failure mode, and a rate limit. It stops short of describing authentication or the post-submission lifecycle, but nothing essential for correct invocation is missing.

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 100%, and the schema already documents every parameter including ranges, lengths, enums, and defaults, so the baseline of 3 applies. The description adds no parameter-level meaning beyond the schema.

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 and resource ('File a manual geolocated incident report') and anchors it to the equivalent REST endpoint (POST /api/reports), which tells an agent exactly what effect to expect. It does not explicitly contrast itself with the read-oriented siblings (get_incidents, get_crime_year), relying on the obvious write-vs-read distinction instead.

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?

The word 'manual' implies this is for human-authored submissions rather than automated ingestion, and the error list gives practical context for when a call will fail. However, there is no explicit statement of when to prefer this over other reporting paths or when not to use it.

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