Skip to content

Expose Action ID validation details in MCP project updates #457

Open

Description

@lastobelus

Submitting an overlong Action ID through t3_project_update returns a generic orchestration error without the validation detail needed to correct it. Reading the same project and listing its saved Actions both succeed.

Reproduction:

  1. Read a project's current scripts using t3_project_read.
  2. Submit those scripts plus one uniquely identified Project Action whose ID is 25 characters long, such as lc-validate-3401-34089a4a.
  3. Observe the failure below. Repeating the identical request gives the same result; the new Action is absent from list_project_actions.
{"_tag":"OrchestratorMcpFailure","code":"orchestration_error","message":"The operation could not be completed."}

The repository's source-file decoder exposed the actual constraint: Action IDs have a maximum length of 24. Changing only the ID to lc-validate-3401 made the MCP update succeed.

Return the actionable validation error through MCP, including the offending field and length limit, and expose the same limit in the tool schema where possible. Rejecting the overlong ID is correct; losing the reason is the defect. No live database repair or application restart is requested by this issue.

Activity

  1. changed the title [-]MCP project script update fails with a generic orchestration error[/-] [+]Expose Action ID validation details in MCP project updates[/+] on Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions