Skip to main content
Glama
ToolException.php660 B
<?php declare(strict_types=1); namespace GoldenPathDigital\LaravelAscend\Exceptions; use InvalidArgumentException; class ToolException extends InvalidArgumentException { public static function notRegistered(string $toolName): self { return new self(sprintf('Tool "%s" is not registered.', $toolName)); } public static function invalidInput(string $message): self { return new self(sprintf('Invalid tool input: %s', $message)); } public static function executionFailed(string $toolName, string $reason): self { return new self(sprintf('Tool "%s" execution failed: %s', $toolName, $reason)); } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aarongrtech/laravel-ascend'

If you have feedback or need assistance with the MCP directory API, please join our Discord server