Skip to main content
Glama

Create report

create_report
DestructiveIdempotent

Publish an authored narrative report to Reports. Provide a distinct title, summary, and prose body; paragraphs are preserved. Exclude secrets and source dumps.

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": {
      "projectId": "<projectId>",
      "idempotencyKey": "<idempotencyKey>",
      "title": "<title>",
      "summary": "<summary>",
      "body": "<body>"
    },
    "name": "create_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesMain text of the hosted report.
titleYesHeadline displayed for the report or reported issue.
outcomeNoOptional scoped outcome. At most 8 criteria, 8 observations per criterion, and 16000 serialized UTF-8 bytes including retained criterion wording. All scope/revision/result values are recorded claims.
summaryYesConcise account of the work or result being recorded.
projectIdYesOwned Brain Scanner project ID from the account's project list; not a local path or repository URL.
sessionIdNoID of this project's active agent session, returned when the session was started. Not needed for read-only calls.
attachmentsNoAttachment records associated with this hosted report.
executionIdNoExecution record ID returned when the execution was registered; associates this call with that execution. Not a session or project ID.
idempotencyKeyYesCaller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / executionId / description
      Previous value: -"Execution record.id from begin_agent_execution when associating this call with an existing execution; not a session or project ID."New value: +"Execution record ID returned when the execution was registered; associates this call with that execution. Not a session or project ID."
    • changedInput schema / properties / projectId / description
      Previous value: -"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."New value: +"Owned Brain Scanner project ID from the account's project list; not a local path or repository URL."
    • changedInput schema / properties / sessionId / description
      Previous value: -"Active session record.id from start_agent_session for this project. Pass it on later project calls after starting the session."New value: +"ID of this project's active agent session, returned when the session was started. Not needed for read-only calls."
  2. Changed7 schema fields changed
    • addedInput schema / properties / attachments / description
      Added value: +"Attachment records associated with this hosted report."
    • changedInput schema / properties / attachments / items / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "maxLength": 6990508,
      -        "type": "string"
      -      },
      -      "name": {
      -        "maxLength": 180,
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "name",
      -      "data"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "id": {
      -        "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
      -        "maxLength": 200,
      -        "minLength": 1,
      -        "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "maxLength": 6990508,
      +        "type": "string"
      +      },
      +      "name": {
      +        "maxLength": 180,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "data"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "id": {
      +        "maxLength": 200,
      +        "minLength": 1,
      +        "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / body / description
      Added value: +"Main text of the hosted report."
    • changedInput schema / properties / executionId / description
      Previous value: -"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."New value: +"Execution record.id from begin_agent_execution when associating this call with an existing execution; not a session or project ID."
    • changedInput schema / properties / sessionId / description
      Previous value: -"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."New value: +"Active session record.id from start_agent_session for this project. Pass it on later project calls after starting the session."
    • addedInput schema / properties / summary / description
      Added value: +"Concise account of the work or result being recorded."
    • addedInput schema / properties / title / description
      Added value: +"Headline displayed for the report or reported issue."
  3. Changed5 schema fields changed
    • changedInput schema / properties / attachments / items / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "maxLength": 6990508,
      -        "type": "string"
      -      },
      -      "name": {
      -        "maxLength": 180,
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "name",
      -      "data"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "id": {
      -        "maxLength": 200,
      -        "minLength": 1,
      -        "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "maxLength": 6990508,
      +        "type": "string"
      +      },
      +      "name": {
      +        "maxLength": 180,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "data"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "id": {
      +        "description": "Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.",
      +        "maxLength": 200,
      +        "minLength": 1,
      +        "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+~-]*$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / executionId / description
      Added value: +"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
    • addedInput schema / properties / idempotencyKey / description
      Added value: +"Caller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action."
    • addedInput schema / properties / projectId / description
      Added value: +"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
    • addedInput schema / properties / sessionId / description
      Added value: +"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
  4. Changed1 schema field changed
    • changedInput schema / properties / outcome / properties / resourceObservations / items / properties / coverage / enum
      Previous value: -[
      -  "turn",
      -  "cumulative",
      -  "operation"
      -]New value: +[
      +  "turn",
      +  "cumulative",
      +  "operation",
      +  "increment"
      +]
  5. Changed4 schema fields changed
    • addedInput schema / properties / outcome / properties / mission
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "id": {
      +      "maxLength": 70,
      +      "minLength": 1,
      +      "pattern": "^focus_[A-Za-z0-9_-]{1,64}$",
      +      "type": "string"
      +    },
      +    "intent": {
      +      "maxLength": 4000,
      +      "minLength": 0,
      +      "type": "string"
      +    },
      +    "name": {
      +      "maxLength": 120,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "nodeIds": {
      +      "items": {
      +        "maxLength": 160,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "maxItems": 64,
      +      "minItems": 0,
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "name",
      +    "nodeIds"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / outcome / properties / references
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "changeReviewId": {
      +      "maxLength": 160,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "sessionId": {
      +      "maxLength": 160,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "taskId": {
      +      "maxLength": 160,
      +      "minLength": 1,
      +      "type": "string"
      +    }
      +  },
      +  "required": [],
      +  "type": "object"
      +}
    • addedInput schema / properties / outcome / properties / resourceObservations
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "coverage": {
      +        "enum": [
      +          "turn",
      +          "cumulative",
      +          "operation"
      +        ],
      +        "type": "string"
      +      },
      +      "id": {
      +        "maxLength": 160,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "kind": {
      +        "enum": [
      +          "tokens",
      +          "cost",
      +          "retries",
      +          "validation_effort",
      +          "support_effort"
      +        ],
      +        "type": "string"
      +      },
      +      "reference": {
      +        "maxLength": 500,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "sessionId": {
      +        "maxLength": 160,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "source": {
      +        "enum": [
      +          "measured",
      +          "estimated",
      +          "unknown"
      +        ],
      +        "type": "string"
      +      },
      +      "taskId": {
      +        "maxLength": 160,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "turnId": {
      +        "maxLength": 160,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "unit": {
      +        "maxLength": 80,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "value": {
      +        "minimum": 0,
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "kind",
      +      "value",
      +      "unit",
      +      "source",
      +      "reference"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 64,
      +  "minItems": 0,
      +  "type": "array"
      +}
    • addedInput schema / properties / outcome / properties / scopeExplanations
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "explanation": {
      +        "maxLength": 1000,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "path": {
      +        "maxLength": 240,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "reference": {
      +        "maxLength": 500,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "path",
      +      "explanation",
      +      "reference"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 32,
      +  "minItems": 0,
      +  "type": "array"
      +}
  6. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=true, idempotent=true, and openWorld=false, so the safety profile is carried for free. Beyond that, the description adds two real behaviors: paragraphs in the body are preserved as authored, and secrets/source dumps must be excluded from published content. It does not discuss that the report becomes a persisted, visible artifact or how retries interact with the idempotency key, but with annotations present the remaining gap is modest.

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 short sentences, front-loaded with the action and resource, then the required payload shape, then the content prohibition. Every clause contributes; nothing is repeated from the schema or annotations.

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?

This is a complex tool: nine parameters, a deeply nested optional outcome/evidence structure, up to five attachments, and optional execution/session linkage. The description covers only the three narrative fields, so an agent reading it alone would not know the tool can also record structured outcomes, evidence, or attachments, even though the schema documents them.

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%, so every one of the nine parameters, including the nested outcome/criteria/evidence object, is already documented in the schema. The description only names title, summary, and body, and adds a formatting note that paragraphs are preserved; it says nothing about outcome, references, attachments, or executionId. That is the baseline 3 for a schema that does the heavy lifting.

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?

"Publish an authored narrative report to Reports" gives a specific verb (publish) and a specific resource (narrative report), and "authored narrative" implicitly separates it from bug-report and queue variants. It stops short of naming any sibling such as queue_report or create_report_bug, so an agent must infer the boundary from the adjective alone.

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 implied by "Publish ... to Reports" and reinforced by the content rule "Exclude secrets and source dumps," which tells the agent what does not belong in the payload. There is no explicit when-to-use versus when-not-to-use guidance and no pointer to the alternative tools that also write reports.

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