Skip to content

[CLI] MCP tool call summary omits nested object parameters (e.g. projectContext) #8301

Description

@bbarker

When an MCP tool call is displayed in the TUI, the collapsed summary line only shows scalar/string parameters, omitting nested object parameters entirely. This makes it impossible to tell which project/target a tool is operating on.

Example:

The lib-install tool from the Unison MCP server takes both a projectContext (object with projectName and branchName) and scalar params (libProjectName, libBranchName). The TUI renders:

↓ lib-install
    ╰ libBranchName=main, libProjectName=@bbarker/uniclaw

But the actual call also includes:

{
  "projectContext": { "projectName": "Siaryey", "branchName": "main" },
  "libProjectName": "@bbarker/uniclaw",
  "libBranchName": "main"
}

The projectContext — which tells you which project is being modified — is completely invisible.

Expected behavior:

Nested object parameters should be represented in the summary, e.g.:

↓ lib-install
    ╰ projectContext.projectName=Siaryey, projectContext.branchName=main, libProjectName=@bbarker/uniclaw, libBranchName=main

Or at minimum, flatten one level with dot notation so the user can see what is being acted upon.

Environment:

  • kiro-cli (latest as of 2026-05-08)
  • macOS, aarch64
  • MCP server: Unison (siaryey)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions