Skip to content
This repository was archived by the owner on Jun 29, 2025. It is now read-only.

Commit f529640

Browse files
committed
Remove unneeded HTTP method and path from tool descriptions
1 parent 8ea84a0 commit f529640

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/openapi2mcp/register.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,6 @@ func generateAIFriendlyDescription(op OpenAPIOperation, inputSchema map[string]a
276276
desc.WriteString(op.Summary)
277277
}
278278

279-
// Add HTTP method and path info
280-
desc.WriteString(fmt.Sprintf("\n\nHTTP: %s %s", strings.ToUpper(op.Method), op.Path))
281-
282279
// Add authentication requirements if any
283280
if len(op.Security) > 0 {
284281
desc.WriteString("\n\nAUTHENTICATION: ")

0 commit comments

Comments
 (0)