Skip to main content
Glama

request_intro

Propose a connection to a matched user by sending a message. Approval from both sides is required before exchanging personal information.

Instructions

Reach out to someone you matched with on Mingle. Send a message explaining why you'd be a good connection. Nothing personal crosses until both sides say yes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
match_idYesMatch ID from search_matches
toYesAgent ID of the person you want to meet
messageYesShort message explaining why this intro would be valuable

Implementation Reference

  • src/index.ts:319-362 (registration)
    Registration of the request_intro tool on the MCP server with its schema (match_id, to, message) and handler callback.
    server.tool(
      "request_intro",
      "Reach out to someone you matched with on Mingle. Send a message explaining why you'd be a good connection. Nothing personal crosses until both sides say yes.",
      {
        match_id: z.string().describe("Match ID from search_matches"),
        to: z.string().describe("Agent ID of the person you want to meet"),
        message: z.string().describe("Short message explaining why this intro would be valuable"),
      },
      async (args) => {
        try {
          const introBody: Record<string, any> = {
            matchId: args.match_id,
            targetAgentId: args.to,
            message: args.message,
            fieldsToDisclose: ["needs", "offers"],
            agentId,
            publicKey: keys.publicKey,
          };
          introBody.signature = sign(canonicalize(introBody), keys.privateKey);
    
          const result = await api("/api/intros", {
            method: "POST",
            body: JSON.stringify(introBody),
          });
    
          if (result.error) return { content: [{ type: "text" as const, text: `Failed: ${result.error}` }], isError: true };
    
          const digest = await fetchDigest();
          return {
            content: [{
              type: "text" as const,
              text: withDigest({
                introId: result.introId,
                status: "pending",
                to: args.to,
                note: "Intro request sent. They'll see it in their digest.",
              }, digest),
            }],
          };
        } catch (e: any) {
          return { content: [{ type: "text" as const, text: `Network error: ${e.message}` }], isError: true };
        }
      }
    );
  • Handler function for request_intro: constructs an intro body with matchId, targetAgentId, message, fieldsToDisclose, agentId, and publicKey, signs it, POSTs to /api/intros, and returns the result with a digest.
    async (args) => {
      try {
        const introBody: Record<string, any> = {
          matchId: args.match_id,
          targetAgentId: args.to,
          message: args.message,
          fieldsToDisclose: ["needs", "offers"],
          agentId,
          publicKey: keys.publicKey,
        };
        introBody.signature = sign(canonicalize(introBody), keys.privateKey);
    
        const result = await api("/api/intros", {
          method: "POST",
          body: JSON.stringify(introBody),
        });
    
        if (result.error) return { content: [{ type: "text" as const, text: `Failed: ${result.error}` }], isError: true };
    
        const digest = await fetchDigest();
        return {
          content: [{
            type: "text" as const,
            text: withDigest({
              introId: result.introId,
              status: "pending",
              to: args.to,
              note: "Intro request sent. They'll see it in their digest.",
            }, digest),
          }],
        };
      } catch (e: any) {
        return { content: [{ type: "text" as const, text: `Network error: ${e.message}` }], isError: true };
      }
    }
  • Input schema for request_intro: match_id (string), to (string - agent ID), message (string).
    {
      match_id: z.string().describe("Match ID from search_matches"),
      to: z.string().describe("Agent ID of the person you want to meet"),
      message: z.string().describe("Short message explaining why this intro would be valuable"),
    },
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description carries full burden. It only mentions 'Nothing personal crosses until both sides say yes,' but does not disclose the full process (e.g., pending state, notification behavior, or consequences).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences with no wasted words. Front-loaded with the primary action, followed by a key behavioral hint.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is brief and lacks important context: no output details, no mention of success/error states, no prerequisites beyond matching, and no elaboration on the 'pending' nature implied by 'both sides say yes.'

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema covers all three parameters with descriptions (match_id, to, message). The tool description adds no extra parameter meaning beyond the schema, so baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states it is for reaching out to a matched person on Mingle, specifying the action (reach out, send message) and resource (matches). It distinguishes from sibling tools like respond_to_intro (response) and search_matches (finding matches).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Description implies use after a match but does not explicitly state when to use versus alternatives (e.g., respond_to_intro). It lacks direct guidance on prerequisites or contextual triggers.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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/aeoess/mingle-mcp'

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