Skip to main content
Glama

DECIDE: Data Migration Discovery Risk Review

Review data migration Discovery risks

validate_migration_discovery

Review a data migration's current discovery findings and return the open risks, highest severity first, each with a next step: who to ask and what to ask. Call after each discovery iteration with the full, cumulative findings (open questions with answer null) and the same engagement_id, to see which risks are new, still open or closed. Minimal example submission: {"engagement_id": "acme-crm-2026", "sow": {"use_case": "Consolidate two legacy CRMs into one Salesforce org.", "scope": ["Account", "Contact", "Opportunity"]}, "project_items": [{"category": "process", "question": "Which team runs month-end invoicing in the legacy CRM?", "answer": "Finance operations, from a weekly export.", "source": {"who": "Finance operations lead"}}], "objects": [{"name": "Account", "criticality": "high", "has_hierarchy": true, "items": [{"category": "object_context", "question": "Do regional sales teams use separate Account layouts?", "answer": null}], "flags": [{"description": "Parent hierarchy source not provided", "owner": "Finance"}]}]}

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": {
      "submission": "<submission>"
    },
    "name": "validate_migration_discovery"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_risksNo
submissionYes

Output Schema

NameRequiredDescriptionDefault
risksYesHighest severity first.
changesYesChange since the last submission; needs engagement_id.
summaryYes
engagement_idYes
risks_omittedYesLower-severity risks left out by max_risks or the no-key limit.
engine_versionYes
coverage_objectsYes
coverage_projectYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / $defs / DiscoveredOutsideScope / properties / timing / description
      Previous value: -"Day 1 or a planned fast follow."New value: +"Needed for go-live (day1) or after go-live (fast_follow)."
    • changedInput schema / $defs / ObjectCategory / description
      Previous value: -"Object- or table-level topic. object_context: what it means to the business, who owns and\nuses it, record types and Day 1 needs. object_source: where its data comes from, static files,\nrecord counts and keys. dependencies: what must exist before it can load and reference data\nstill changing. hierarchy: its source and target hierarchy, if it has one. migration_logic:\nwhich records move, how far back, logic by business unit, and whether original dates and owners\nare kept."New value: +"Object- or table-level topic. object_context: business meaning, ownership, usage and record\ntypes. object_source: source data characteristics, files, volumes and keys. dependencies: load\ndependencies and reference data. hierarchy: hierarchy structure, if applicable. migration_logic:\ndata selection and retention requirements."
    • changedInput schema / $defs / ProjectCategory / description
      Previous value: -"Project-level topic. purpose: why the migration is happening and the pain points behind\nit. scope: what data is in scope, Day 1 vs fast follow, and when scope freezes. use_case: what\nthe migration should accomplish and the priority of each use case. success: what Day 1\nreadiness looks like and who validates and signs off on the migrated data. people: business\nunits and users, decision makers and the scope owner. data_landscape: where the data lives and\nits condition, other loads, integrations, compliance data, harmonization and governance.\nprocurement: what the client has purchased (context only, not scored; only if known).\nprocess: how each business unit uses the system today, its processes and key reports."New value: +"Project-level topic. purpose: business drivers for the data migration. scope: scope\nboundaries, including go-live and subsequent requirements. use_case: intended outcomes and their\npriority. success: go-live, success criteria, validation and sign-off. people: stakeholders and\ndecision makers. data_landscape: current data environment, data ownership and governance.\nprocurement: purchased platform licenses and capacity (context only, if known). process: current\nbusiness processes and reporting."
    • changedOutput schema / $defs / Risk / properties / must_confirm / description
      Previous value: -"Consent, compliance or legal topic, or a rule that could change data in ways that are hard to undo: stays open until confirmed."New value: +"Requires explicit confirmation before resolution: stays open until confirmed."
  2. Changed1 schema field changed
    • changedInput schema / $defs / DiscoverySubmission / properties / sow / description
      Previous value: -"Scope baseline, if you have it. Without it, scope checks are skipped and one risk is raised."New value: +"Scope baseline, if you have it. Without it, in-scope checks are skipped; scope is reviewed from your scope answers."
  3. Changed1 schema field changed
    • changedOutput schema / $defs / Risk / properties / must_confirm / description
      Previous value: -"Consent, compliance or legal topic: stays open until confirmed."New value: +"Consent, compliance or legal topic, or a rule that could change data in ways that are hard to undo: stays open until confirmed."
  4. Changed15 schema fields changed
    • removedInput schema / $defs / DiscoveredNotSold
      Removed value: -{
      -  "properties": {
      -    "name": {
      -      "maxLength": 200,
      -      "title": "Name",
      -      "type": "string"
      -    },
      -    "reason": {
      -      "anyOf": [
      -        {
      -          "maxLength": 2000,
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "default": null,
      -      "title": "Reason"
      -    },
      -    "requested_by": {
      -      "anyOf": [
      -        {
      -          "maxLength": 200,
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "default": null,
      -      "title": "Requested By"
      -    },
      -    "timing": {
      -      "anyOf": [
      -        {
      -          "$ref": "#/$defs/Timing"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "default": null
      -    },
      -    "what": {
      -      "anyOf": [
      -        {
      -          "maxLength": 2000,
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "default": null,
      -      "title": "What"
      -    }
      -  },
      -  "required": [
      -    "name"
      -  ],
      -  "title": "DiscoveredNotSold",
      -  "type": "object"
      -}
    • addedInput schema / $defs / DiscoveredOutsideScope
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Optional. An object or table Discovery found that isn't in scope. If it isn't clear whether\nsomething is in scope, ask the scope owner.",
      +  "properties": {
      +    "data_stored": {
      +      "anyOf": [
      +        {
      +          "maxLength": 2000,
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "What data it stores.",
      +      "title": "Data Stored"
      +    },
      +    "name": {
      +      "maxLength": 200,
      +      "title": "Name",
      +      "type": "string"
      +    },
      +    "reason": {
      +      "anyOf": [
      +        {
      +          "maxLength": 2000,
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Why it is needed.",
      +      "title": "Reason"
      +    },
      +    "requested_by": {
      +      "anyOf": [
      +        {
      +          "maxLength": 200,
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Role of whoever asked for it.",
      +      "title": "Requested By"
      +    },
      +    "timing": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/Timing"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Day 1 or a planned fast follow."
      +    },
      +    "usage": {
      +      "anyOf": [
      +        {
      +          "maxLength": 2000,
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "How it is used.",
      +      "title": "Usage"
      +    }
      +  },
      +  "required": [
      +    "name"
      +  ],
      +  "title": "DiscoveredOutsideScope",
      +  "type": "object"
      +}
    • addedInput schema / $defs / DiscoverySubmission / additionalProperties
      Added value: +false
    • removedInput schema / $defs / DiscoverySubmission / properties / discovered_not_sold
      Removed value: -{
      -  "default": [],
      -  "items": {
      -    "$ref": "#/$defs/DiscoveredNotSold"
      -  },
      -  "maxItems": 200,
      -  "title": "Discovered Not Sold",
      -  "type": "array"
      -}
    • addedInput schema / $defs / DiscoverySubmission / properties / discovered_outside_scope
      Added value: +{
      +  "default": [],
      +  "items": {
      +    "$ref": "#/$defs/DiscoveredOutsideScope"
      +  },
      +  "maxItems": 200,
      +  "title": "Discovered Outside Scope",
      +  "type": "array"
      +}
    • changedInput schema / $defs / ObjectCategory / description
      Previous value: -"Object-level topic area. meaning_and_use: what the object is and how it's used.\nwhere_it_lives: where the object's data comes from. dependencies: how the object relates to\nother data. hierarchy: the object's hierarchy, if it has one. history_and_rules: which records\nand history are in scope. data_shape: the condition of the object's data."New value: +"Object- or table-level topic. object_context: what it means to the business, who owns and\nuses it, record types and Day 1 needs. object_source: where its data comes from, static files,\nrecord counts and keys. dependencies: what must exist before it can load and reference data\nstill changing. hierarchy: its source and target hierarchy, if it has one. migration_logic:\nwhich records move, how far back, logic by business unit, and whether original dates and owners\nare kept."
    • changedInput schema / $defs / ObjectCategory / enum
      Previous value: -[
      -  "meaning_and_use",
      -  "where_it_lives",
      -  "dependencies",
      -  "hierarchy",
      -  "history_and_rules",
      -  "data_shape"
      -]New value: +[
      +  "object_context",
      +  "object_source",
      +  "dependencies",
      +  "hierarchy",
      +  "migration_logic"
      +]
    • changedInput schema / $defs / ObjectResult / properties / name / description
      Previous value: -"Object name, e.g. Account."New value: +"Object or table name, e.g. Account."
    • changedInput schema / $defs / ProjectCategory / description
      Previous value: -"Project-level topic area. purpose_and_success: why the migration is happening and what\nsuccess means. people: the people involved and their roles. data_landscape: the wider data\nenvironment around the migration. purchased: what the client has bought (context only, not\nscored). process: how the business works today. scope: what's in and out of the migration."New value: +"Project-level topic. purpose: why the migration is happening and the pain points behind\nit. scope: what data is in scope, Day 1 vs fast follow, and when scope freezes. use_case: what\nthe migration should accomplish and the priority of each use case. success: what Day 1\nreadiness looks like and who validates and signs off on the migrated data. people: business\nunits and users, decision makers and the scope owner. data_landscape: where the data lives and\nits condition, other loads, integrations, compliance data, harmonization and governance.\nprocurement: what the client has purchased (context only, not scored; only if known).\nprocess: how each business unit uses the system today, its processes and key reports."
    • changedInput schema / $defs / ProjectCategory / enum
      Previous value: -[
      -  "purpose_and_success",
      -  "people",
      -  "data_landscape",
      -  "purchased",
      -  "process",
      -  "scope"
      -]New value: +[
      +  "purpose",
      +  "scope",
      +  "use_case",
      +  "success",
      +  "people",
      +  "data_landscape",
      +  "procurement",
      +  "process"
      +]
    • addedInput schema / $defs / SOW / additionalProperties
      Added value: +false
    • changedInput schema / $defs / SOW / description
      Previous value: -"What was sold. Optional: leave it out if you don't have it."New value: +"The scope baseline, e.g. from the statement of work. Optional: leave it out if you don't have it."
    • addedInput schema / $defs / SOW / properties / scope
      Added value: +{
      +  "default": [],
      +  "description": "Objects or tables in scope.",
      +  "items": {
      +    "maxLength": 200,
      +    "type": "string"
      +  },
      +  "maxItems": 200,
      +  "title": "Scope",
      +  "type": "array"
      +}
    • removedInput schema / $defs / SOW / properties / sold_scope
      Removed value: -{
      -  "default": [],
      -  "description": "Object names in the sold scope.",
      -  "items": {
      -    "maxLength": 200,
      -    "type": "string"
      -  },
      -  "maxItems": 200,
      -  "title": "Sold Scope",
      -  "type": "array"
      -}
    • changedOutput schema / properties / risks_omitted / description
      Previous value: -"Lower-severity risks left out by max_risks."New value: +"Lower-severity risks left out by max_risks or the no-key limit."
  5. Changed1 schema field changed
    • addedOutput schema / $defs / Changes / properties / not_resubmitted
      Added value: +{
      +  "default": [],
      +  "description": "Risk IDs from last time whose question, flag or object was left out of this submission. They are not resolved: send the full, current findings each time.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "title": "Not Resubmitted",
      +  "type": "array"
      +}
  6. Changed3 schema fields changed
    • addedInput schema / $defs / ObjectCategory / description
      Added value: +"Object-level topic area. meaning_and_use: what the object is and how it's used.\nwhere_it_lives: where the object's data comes from. dependencies: how the object relates to\nother data. hierarchy: the object's hierarchy, if it has one. history_and_rules: which records\nand history are in scope. data_shape: the condition of the object's data."
    • addedInput schema / $defs / ProjectCategory / description
      Added value: +"Project-level topic area. purpose_and_success: why the migration is happening and what\nsuccess means. people: the people involved and their roles. data_landscape: the wider data\nenvironment around the migration. purchased: what the client has bought (context only, not\nscored). process: how the business works today. scope: what's in and out of the migration."
    • changedInput schema / $defs / Source / properties / who / description
      Previous value: -"Person who gave the answer."New value: +"Role of the person who gave the answer, e.g. 'VP Sales'. Use a role, not a name."
  7. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden and discloses real behavior: results are severity-ordered, each risk carries a next-step (who/what to ask), and repeated calls with the same engagement_id diff risks into new/still open/closed. It never states whether the submission is persisted server-side or whether calls are side-effect free, which is the main behavioral gap.

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?

Purpose is front-loaded, then iteration guidance, then a concrete example. The single dense JSON example earns its place by demonstrating the cumulative-submission shape, though it is heavy enough to slow reading vs. a short bulleted field summary.

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?

An output schema exists, so return values needn't be explained, and the description still adds severity ordering and diff semantics across iterations. Remaining omissions (persistence, max_risks behavior, handling of discovered_outside_scope) are minor for a validation-style tool but not zero-cost.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Top-level schema description coverage is 0%, so the description must compensate, and it largely does via the worked example: it shows engagement_id, sow.use_case/scope, project_items with category/question/answer/source.who, and objects with name/criticality/has_hierarchy/items/flags, and clarifies that answer null means open. It leaves max_risks, discovered_outside_scope, and several nested fields unexplained, so it does not fully close the gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Review a data migration's current discovery findings') plus the precise output ('open risks, highest severity first, each with a next step: who to ask and what to ask'). An agent knows exactly what the tool produces without opening the schema.

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?

It gives clear invocation timing ('Call after each discovery iteration') and an explicit input contract ('full, cumulative findings (open questions with answer null) and the same engagement_id'). It does not cover when not to call or failure/error conditions, so it stops short of a full 5.

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.