Skip to main content
Glama
jiechau

Vincent Says MCP Server

by jiechau

ask_vincent

Get yes/no answers to questions from Vincent, a persona who provides responses in his distinctive style.

Instructions

Ask Vincent something and get a yes/no answer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
questionYesThe question to ask Vincent

Implementation Reference

  • Handler logic for the 'ask_vincent' tool: validates the question input and returns a random 'yes' or 'no' response.
    if (name === "ask_vincent") {
      const question = args?.question;
      if (typeof question !== "string") {
        throw new McpError(
          ErrorCode.InvalidParams,
          "Question must be a string"
        );
      }
    
      // Random yes/no answer like in the Python version
      const answer = Math.random() < 0.5 
        ? "yes, that's a good idea!" 
        : "no! hell no!";
    
      return {
        content: [
          {
            type: "text",
            text: answer,
          },
        ],
      };
    }
  • src/index.ts:31-44 (registration)
    Registration of the 'ask_vincent' tool in the ListTools response, including name, description, and input schema.
    {
      name: "ask_vincent",
      description: "Ask Vincent something and get a yes/no answer.",
      inputSchema: {
        type: "object",
        properties: {
          question: {
            type: "string",
            description: "The question to ask Vincent",
          },
        },
        required: ["question"],
      },
    },
  • Input schema definition for the 'ask_vincent' tool, specifying the required 'question' string parameter.
    inputSchema: {
      type: "object",
      properties: {
        question: {
          type: "string",
          description: "The question to ask Vincent",
        },
      },
      required: ["question"],
    },
Install Server

Other Tools

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/jiechau/jiechau_mcp_vincent_says_npm'

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