Skip to content

[BUG] Tool names should be <=64 characters #161

Closed as duplicate of#64
Closed as duplicate of#64
@combiz

Description

@combiz

Describe the bug
Currently, the tool name is concatenated from its function name/other paths. This can often go over the 64 char limit used in common MCP implementations, which results in errors.

To Reproduce
Try a tool with a name >64 characters with for example n8n or langchain with openai/gpt-4.1-mini. It returns a 400 Provider returned error.

Possible Solution
Allow the user to override the default (concatenated) tool name with a custom name. Or omit some path prefixes.

System Info
n8n/langchain/openai models on Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions