Skip to main content
Glama

get_quick_reference

Retrieve all Laravel coding rules and quick reference documentation to access essential development guidelines and standards.

Instructions

Get the quick reference documentation (all coding rules)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Complete implementation of the get_quick_reference tool. Registers the tool with MCP server, defines the schema (empty input), and provides the handler function that reads and returns the content of ai/quick-reference.md file.
    // Register tool: Get quick reference
    server.registerTool(
      'get_quick_reference',
      {
        description: 'Get the quick reference documentation (all coding rules)',
        inputSchema: {},
      },
      async () => {
        const filePath = path.join(DOCS_PATH, 'ai/quick-reference.md');
    
        if (!fs.existsSync(filePath)) {
          throw new Error('Quick reference documentation not found');
        }
    
        const content = fs.readFileSync(filePath, 'utf-8');
    
        return {
          content: [{
            type: 'text',
            text: content,
          }],
        };
      }
    );

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/pujandan/mcp-laravel'

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