[BUG] Display breaks due to aligned parameter rendering for MCP tools
Resolved 💬 3 comments Opened Jul 28, 2025 by lava Closed Aug 15, 2025
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.61
- Operating System: Ubuntu 24.04
- Terminal: bash
Bug Description
When displaying MCP tool calls, the CLI tries to align the call parameters with the opening ( character. This breaks hilariously when the tool name is very long compared to the terminal width. For example, I get the following output when running the terraform MCP commands in a 92-character wide terminal window:
╭─────────────────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code! │
│ │
│ /help for help, /status for your current setup │
│ │
│ cwd: [censored] │
╰─────────────────────────────────────────────────────────────╯
> /mcp
⎿ (no content)
> Look up the required parameters for the aws_glue_crawler terraform resource, and
check that the one in athena.tf is valid according to the docs
● I'll help you look up the required parameters for the aws_glue_crawler Terraform
resource and validate the one in athena.tf. Let me start by checking the current
configuration and then consulting the documentation.
● Update Todos
⎿ ☐ Read the current aws_glue_crawler configuration in athena.tf
☐ Look up aws_glue_crawler required parameters in Terraform AWS provider docs
☐ Validate the configuration against the documentation requirements
● Update Todos
⎿ ☐ Read the current aws_glue_crawler configuration in athena.tf
☐ Look up aws_glue_crawler required parameters in Terraform AWS provider docs
☐ Validate the configuration against the documentation requirements
● Read(athena.tf)
⎿ Read 471 lines (ctrl+r to expand)
● Update Todos
⎿ ☒ Read the current aws_glue_crawler configuration in athena.tf
☐ Look up aws_glue_crawler required parameters in Terraform AWS provider docs
☐ Validate the configuration against the documentation requirements
● terraform - Identify the most relevant provider document ID for a Terraform service (MCP)
(
p
r
o
v
i
d
e
r
N
a
m
e
:
"
a
w
s
"
,
p
r
o
v
i
d
e
r
N
a
m
e
s
p
a
c
e
:
"
h
a
s
h
i
c
o
r
p
"
,
s
e
r
v
i
c
e
S
l
u
g
:
"
g
l
u
e
_
c
r
a
w
l
e
r
"
,
p
r
o
v
i
d
e
r
D
a
t
a
T
y
p
e
:
"
r
e
s
o
u
r
c
e
s
"
,
p
r
o
v
i
d
e
r
V
e
r
s
i
o
n
:
"
l
a
t
e
s
t
"
)
⎿ Available Documentation (top matches) for resources in Terraform provider hashicorp
/aws version: 6.5.0
… +13 lines (ctrl+r to expand)
● terraform - Fetch detailed Terraform provider documentation using a document ID (MCP)
(
p
r
o
v
i
d
e
r
D
o
c
I
D
:
"
9
5
0
3
8
1
0
"
)
⎿ ---
subcategory: "Glue"
layout: "aws"
… +336 lines (ctrl+r to expand)
● Update Todos
⎿ ☒ Read the current aws_glue_crawler configuration in athena.tf
☒ Look up aws_glue_crawler required parameters in Terraform AWS provider docs
☐ Validate the configuration against the documentation requirementsThis issue has 3 comments on GitHub. Read the full discussion on GitHub ↗