Skip to main content
Glama

Editorial Integrate

editorial_integrate

Save selected finding IDs, explicit omitted reasons and unresolved gaps with the observed run revision. Read the run and findings before deciding.

Input Schema

NameRequiredDescriptionDefault
bodyYes
runIdYesrunId (path).
commandIdNoRetry identity. A call repeated with the same commandId returns the first result instead of acting twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed18 schema fields changed
    • addedInput schema / $defs
      Added value: +{
      +  "__schema0": {
      +    "maxLength": 128,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "__schema1": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "findingId": {
      +        "maxLength": 128,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "reason": {
      +        "maxLength": 1000,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "findingId",
      +      "reason"
      +    ],
      +    "type": "object"
      +  },
      +  "__schema2": {
      +    "maxLength": 1000,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "__schema3": {
      +    "maxLength": 128,
      +    "minLength": 1,
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / body / properties / integration / properties / omittedReasons / items / $ref
      Added value: +"#/$defs/__schema1"
    • removedInput schema / properties / body / properties / integration / properties / omittedReasons / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / body / properties / integration / properties / omittedReasons / items / properties
      Removed value: -{
      -  "findingId": {
      -    "maxLength": 128,
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "reason": {
      -    "maxLength": 1000,
      -    "minLength": 1,
      -    "type": "string"
      -  }
      -}
    • removedInput schema / properties / body / properties / integration / properties / omittedReasons / items / required
      Removed value: -[
      -  "findingId",
      -  "reason"
      -]
    • removedInput schema / properties / body / properties / integration / properties / omittedReasons / items / type
      Removed value: -"object"
    • addedInput schema / properties / body / properties / integration / properties / selectedFindingIds / items / $ref
      Added value: +"#/$defs/__schema0"
    • removedInput schema / properties / body / properties / integration / properties / selectedFindingIds / items / maxLength
      Removed value: -128
    • removedInput schema / properties / body / properties / integration / properties / selectedFindingIds / items / minLength
      Removed value: -1
    • removedInput schema / properties / body / properties / integration / properties / selectedFindingIds / items / type
      Removed value: -"string"
    • addedInput schema / properties / body / properties / integration / properties / unresolvedGaps / items / $ref
      Added value: +"#/$defs/__schema2"
    • removedInput schema / properties / body / properties / integration / properties / unresolvedGaps / items / maxLength
      Removed value: -1000
    • removedInput schema / properties / body / properties / integration / properties / unresolvedGaps / items / minLength
      Removed value: -1
    • removedInput schema / properties / body / properties / integration / properties / unresolvedGaps / items / type
      Removed value: -"string"
    • addedInput schema / properties / commandId / $ref
      Added value: +"#/$defs/__schema3"
    • removedInput schema / properties / commandId / maxLength
      Removed value: -128
    • removedInput schema / properties / commandId / minLength
      Removed value: -1
    • removedInput schema / properties / commandId / type
      Removed value: -"string"
  2. Changed1 schema field changed
    • addedInput schema / properties / commandId
      Added value: +{
      +  "description": "Retry identity. A call repeated with the same commandId returns the first result instead of acting twice.",
      +  "maxLength": 128,
      +  "minLength": 1,
      +  "type": "string"
      +}
  3. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare not read-only, not idempotent, not destructive. The description adds the useful detail that a revision is 'observed' (optimistic concurrency against expectedRevision), but it doesn't say what happens on a revision mismatch, whether the save is rejected or overwrites, or what state results.

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?

Two short sentences with the payload contents front-loaded before the prerequisite. No wasted clauses, though the second sentence reads as an instruction rather than definitional content.

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 nested, multi-object mutation with no output schema and only partial schema coverage, the description leaves the response shape, revision-conflict behavior and the role of compositionId/transitionIntent unstated. Adequate to attempt a call, not to predict its outcome.

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 coverage is 67% and the description maps its prose onto selectedFindingIds, omittedReasons, unresolvedGaps and the observed revision, which helps. However compositionId, compositionVersion and transitionIntent are documented nowhere, and the body/runId duplication is unexplained.

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 (save) and enumerates the resources being persisted: selected finding IDs, omitted reasons, unresolved gaps, tied to an observed run revision. That is distinguishable from editorial_findings_append and editorial_apply, though it never explicitly names those siblings.

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?

'Read the run and findings before deciding' gives a prerequisite ordering, which implies the editorial workflow, but it never says when to pick this over editorial_apply or editorial_findings_append, nor what conditions make integration appropriate.

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.