Skip to main content
Glama

Accept a hello

event_accept
Idempotent

Accepts a hello the person has received, which opens a conversation with the person who sent it. Needs a personal connector token and the hello as firstName (as an event_requests row spelled it) or requestId (as that row gave it). It accepts only hellos addressed to the caller; the server checks this and refuses with NOT_RECEIVER otherwise. A firstName that matches two waiting hellos returns AMBIGUOUS_NAME and accepts nothing. Accepting twice changes nothing. Returns ok:true when the conversation is open; event_inbox reads it and event_reply answers in it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
firstNameNoOptional. The first name as an event_requests row spelled it, matched against the caller's own pending hellos only. Two matches return AMBIGUOUS_NAME and nothing is accepted.
requestIdNoOptional. The requestId as an event_requests row gave it. When both this and firstName are sent, this one is used.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
errorNo
chatIdNo
messageNo
requestsNo
servedByNo
candidatesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "anyOf": [
      +    {
      +      "required": [
      +        "ok",
      +        "chatId"
      +      ]
      +    },
      +    {
      +      "properties": {
      +        "ok": {
      +          "const": false
      +        }
      +      },
      +      "required": [
      +        "ok"
      +      ]
      +    },
      +    {
      +      "properties": {
      +        "found": {
      +          "const": false
      +        }
      +      },
      +      "required": [
      +        "found"
      +      ]
      +    },
      +    {
      +      "required": [
      +        "error"
      +      ]
      +    }
      +  ],
      +  "properties": {
      +    "candidates": {
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "chatId": {
      +      "type": "string"
      +    },
      +    "error": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "ok": {
      +      "type": "boolean"
      +    },
      +    "requests": {
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "servedBy": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / firstName / description
      Previous value: -"OPTIONAL. The FIRST NAME exactly as an event_requests row spelled it. Matched against the caller's OWN pending hellos only. Two matches come back AMBIGUOUS_NAME and NOTHING IS ACCEPTED, and you ask which one they mean."New value: +"Optional. The first name as an event_requests row spelled it, matched against the caller's own pending hellos only. Two matches return AMBIGUOUS_NAME and nothing is accepted."
    • changedInput schema / properties / requestId / description
      Previous value: -"OPTIONAL. The requestId exactly as an event_requests row gave it. Never construct one. Pass this OR firstName; passing both uses this one."New value: +"Optional. The requestId as an event_requests row gave it. When both this and firstName are sent, this one is used."
  3. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources