Skip to main content
Glama
Syncky Health

Syncky Health

Official

syncky_send

Sends caller-owned JSON messages to a confirmed phone through Syncky Health, or validates them first without sending. Use it to deliver policy-checked health messages and check send receipts.

Instructions

Send caller-owned JSON to one confirmed phone; use syncky_skill for rules and syncky_inbox to read replies. Scope releases need no owner approval. Obtain owner approval for writes, diagnostics and access requests. Writes use the owner's standing per-type allowance. The phone enforces policy and consent; sent means relay delivery only. Returns a send receipt or, with validate set to true, valid: true without sending. Pending sends retry while receive runs; check state and hint, then outbox counts and sends receipts in syncky_status.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "type": "<type>",
      "inner": "<inner>"
    },
    "name": "syncky_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoTarget confirmed phone's member ID string, e.g. m_dev_1. Sending without a target requires exactly one eligible confirmed phone. Validation alone needs no target.
typeYesMessage type string, e.g. 'access_request'; must equal the `type` field inside `inner`.
innerYesCaller-owned inner JSON message object, including its required `type` string and the message fields defined by the current skill.
validateNoDefault false. Set true to validate only against available local message schemas. It sends nothing. Real sends of access_request and scope_release always validate. Validation does not grant approval or permission.

Output Schema

NameRequiredDescriptionDefault
toNoRecipient member IDs; currently one confirmed phone.
seqNoRelay sequence assigned on delivery, when available.
codeNoLocal queue or tool failure code; null when cleared on delivery.
hintNoFixed guidance for a queued retry, terminal failure or tool error, when available.
kindNoOutgoing envelope kind.
typeNoCaller-supplied message type.
stateNoPending is queued, sent is relay delivery only, failed is terminal.
typesNoValidated type names associated with a local error detail, when available.
validNoLocal validation succeeded. Nothing was sent.
detailNoSafe local error detail code, when available.
msg_idNoSealed message ID used to track this send.
attemptsNoNumber of relay delivery attempts so far.
relay_codeNoNormalized relay or client failure cause, when available.
relay_statusNoRelay HTTP status, or 0 when no HTTP status is available.
next_attempt_atNoNext attempt time: Unix milliseconds (0 means due), or a stored date-time string.
retry_after_untilNoRelay retry floor in Unix milliseconds; 0 means no active floor.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.2.3
    • changedInput schema / properties / to / description
      Previous value: -"Target confirmed phone's member ID string, e.g. m_dev_1; omit only when exactly one eligible confirmed phone is available."New value: +"Target confirmed phone's member ID string, e.g. m_dev_1. Sending without a target requires exactly one eligible confirmed phone. Validation alone needs no target."
    • changedInput schema / properties / validate / description
      Previous value: -"Boolean, default false. Set true to check available local message schemas before sending; unknown types may have no schema. Messages of type 'access_request' and 'scope_release' are always validated by this MCP tool, even when false. Validation does not grant approval or permission."New value: +"Default false. Set true to validate only against available local message schemas. It sends nothing. Real sends of access_request and scope_release always validate. Validation does not grant approval or permission."
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "required": [
      -      "msg_id",
      -      "kind",
      -      "type",
      -      "to",
      -      "state"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "code": {
      -        "description": "Safe tool error code.",
      -        "pattern": "^[a-z_]{1,64}$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "code"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "required": [
      +      "msg_id",
      +      "kind",
      +      "type",
      +      "to",
      +      "state"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "code": {
      +        "description": "Safe tool error code.",
      +        "pattern": "^[a-z_]{1,64}$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "code"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "valid"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / valid
      Added value: +{
      +  "const": true,
      +  "description": "Local validation succeeded. Nothing was sent.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changedv0.1.8
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "anyOf": [
      +    {
      +      "required": [
      +        "msg_id",
      +        "kind",
      +        "type",
      +        "to",
      +        "state"
      +      ]
      +    },
      +    {
      +      "properties": {
      +        "code": {
      +          "description": "Safe tool error code.",
      +          "pattern": "^[a-z_]{1,64}$",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "code"
      +      ]
      +    }
      +  ],
      +  "properties": {
      +    "attempts": {
      +      "description": "Number of relay delivery attempts so far.",
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "code": {
      +      "description": "Local queue or tool failure code; null when cleared on delivery.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "detail": {
      +      "description": "Safe local error detail code, when available.",
      +      "pattern": "^[a-z_]{1,64}$",
      +      "type": "string"
      +    },
      +    "hint": {
      +      "description": "Fixed guidance for a queued retry, terminal failure or tool error, when available.",
      +      "type": "string"
      +    },
      +    "kind": {
      +      "description": "Outgoing envelope kind.",
      +      "enum": [
      +        "data",
      +        "control"
      +      ],
      +      "type": "string"
      +    },
      +    "msg_id": {
      +      "description": "Sealed message ID used to track this send.",
      +      "type": "string"
      +    },
      +    "next_attempt_at": {
      +      "anyOf": [
      +        {
      +          "minimum": 0,
      +          "type": "number"
      +        },
      +        {
      +          "type": "string"
      +        }
      +      ],
      +      "description": "Next attempt time: Unix milliseconds (0 means due), or a stored date-time string."
      +    },
      +    "relay_code": {
      +      "description": "Normalized relay or client failure cause, when available.",
      +      "type": "string"
      +    },
      +    "relay_status": {
      +      "anyOf": [
      +        {
      +          "const": 0
      +        },
      +        {
      +          "maximum": 599,
      +          "minimum": 100
      +        }
      +      ],
      +      "description": "Relay HTTP status, or 0 when no HTTP status is available.",
      +      "type": "integer"
      +    },
      +    "retry_after_until": {
      +      "description": "Relay retry floor in Unix milliseconds; 0 means no active floor.",
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "seq": {
      +      "description": "Relay sequence assigned on delivery, when available.",
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "state": {
      +      "description": "Pending is queued, sent is relay delivery only, failed is terminal.",
      +      "enum": [
      +        "pending",
      +        "sent",
      +        "failed"
      +      ],
      +      "type": "string"
      +    },
      +    "to": {
      +      "description": "Recipient member IDs; currently one confirmed phone.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "type": {
      +      "description": "Caller-supplied message type.",
      +      "type": "string"
      +    },
      +    "types": {
      +      "description": "Validated type names associated with a local error detail, when available.",
      +      "items": {
      +        "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Changed5 schema fields changedv0.1.6
    • addedInput schema / properties / inner / description
      Added value: +"Caller-owned inner JSON message object, including its required `type` string and the message fields defined by the current skill."
    • addedInput schema / properties / inner / properties / type / description
      Added value: +"Inner message type string, e.g. 'access_request'; must equal the outer `type` parameter."
    • addedInput schema / properties / to / description
      Added value: +"Target confirmed phone's member ID string, e.g. m_dev_1; omit only when exactly one eligible confirmed phone is available."
    • addedInput schema / properties / type / description
      Added value: +"Message type string, e.g. 'access_request'; must equal the `type` field inside `inner`."
    • addedInput schema / properties / validate / description
      Added value: +"Boolean, default false. Set true to check available local message schemas before sending; unknown types may have no schema. Messages of type 'access_request' and 'scope_release' are always validated by this MCP tool, even when false. Validation does not grant approval or permission."
  4. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare the generic write/open-world/not-idempotent profile; the description adds the substantive behavior an agent actually needs: the phone enforces policy and consent, 'sent' means relay delivery only, writes draw on a standing per-type allowance, and pending sends retry while receive runs. The remaining gap is that retry semantics are not reconciled with idempotentHint=false (e.g. whether a retry can duplicate a message).

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

Conciseness4/5

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

The definition is front-loaded with the core action and has no filler sentences. It is dense to the point of being cryptic in the tail, where bare identifiers (`state`, `hint`, `outbox`, `sends`) are listed without explaining how they should change the caller's next action.

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

Completeness5/5

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

For a write tool with an output schema already present, the description supplies the missing operational context: approval requirements by message class, what 'sent' actually guarantees, validation-only behavior, retry-on-receive, and where to inspect delivery state. Nothing an agent needs before invoking it is absent.

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 coverage is 100%, so the baseline is 3, and most of the description's parameter content (validate sends nothing, no target needed for validation, type must match inner.type, default target is the single eligible phone) restates the schema. It adds little syntax or format meaning beyond what the field descriptions already say.

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?

States a specific verb and resource ('Send caller-owned JSON') and constrains scope to 'one confirmed phone'. It also positions the tool against siblings by routing rules lookups to syncky_skill, replies to syncky_inbox, and receipt checks to syncky_status.

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

Usage Guidelines5/5

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

Gives explicit routing guidance ('use syncky_skill for rules and syncky_inbox to read replies') plus the approval condition per message class: scope_release needs no owner approval, while writes, diagnostics and access requests do. It also names the validate escape hatch for a no-send dry run, so an agent can pick the right mode without inference.

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