Skip to main content
Glama

Create partner binding

create_partner_binding

Create a partner delivery binding — born DRAFT. producer 'agent' (the default) POSTs an agent's run result to an external partner endpoint as an HMAC-signed callback; producer 'security_events' streams the organization's audit security events (login_event, pii_event, output_delivered, ...) to a SIEM endpoint as signed batches — static URL only, no agent. Returns the signing secret ONCE (copy it now; it can't be retrieved later — only rotated). Activate it with set_partner_binding_status once configured.

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": {
      "name": "<name>"
    },
    "name": "create_partner_binding"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesBinding name, unique within the organization.
url_keyNopayload mode: the request field name carrying the callback URL (e.g. 'callbackUrl').
agent_idNoproducer 'agent' only (required there): id of the agent whose run results are delivered.
producerNo'agent' (default) = deliver an agent's run results; 'security_events' = stream audit security events to a SIEM.
static_urlNostatic mode: the fixed HTTPS endpoint results are POSTed to.
url_sourceNoWhere the callback URL comes from: 'payload' (a field in each request) or 'static' (a fixed URL). security_events requires 'static'.
event_typesNosecurity_events only: audit event_type strings to stream (from the security-event catalog). Empty = all supported.
deliver_fromNo'api' = job surfaces only (trigger/api/completion); 'all' also delivers conversational turns (widget/stream).
correlation_keysNoCaller field names echoed verbatim on every callback (e.g. ['externalId']).
deliver_failuresNoAlso deliver a failed-run envelope (opt-in; default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / agent_id / description
      Previous value: -"Id of the agent whose run results are delivered."New value: +"producer 'agent' only (required there): id of the agent whose run results are delivered."
    • addedInput schema / properties / event_types
      Added value: +{
      +  "description": "security_events only: audit event_type strings to stream (from the security-event catalog). Empty = all supported.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / producer
      Added value: +{
      +  "description": "'agent' (default) = deliver an agent's run results; 'security_events' = stream audit security events to a SIEM.",
      +  "enum": [
      +    "agent",
      +    "security_events"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / url_source / description
      Previous value: -"Where the callback URL comes from: 'payload' (a field in each request) or 'static' (a fixed URL)."New value: +"Where the callback URL comes from: 'payload' (a field in each request) or 'static' (a fixed URL). security_events requires 'static'."
    • changedInput schema / required
      Previous value: -[
      -  "name",
      -  "agent_id"
      -]New value: +[
      +  "name"
      +]
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare it is a non-destructive write; the description adds substantive behavior beyond that — the DRAFT initial state, HMAC signing of callbacks, that the signing secret is returned only once and cannot be re-read, and the required follow-up activation step. The 'security_events requires static URL, no agent' constraint is a real behavioral rule, not a restatement.

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?

A single dense paragraph that front-loads the creation act, then the two producer modes, then the secret and activation caveats. The em-dash-separated clauses are all load-bearing; nothing is padding.

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 10-parameter mutation tool with no output schema, the description covers what an agent most needs: the resulting DRAFT state, the one-time secret return (its de facto output), and the activation path. No output schema exists, but the critical return value is explicitly described.

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 description coverage is 100%, so every one of the 10 parameters is already documented, including the producer/url_source enum semantics and the security_events-only static-URL rule. The description's parameter content largely mirrors that (default producer 'agent', static-only for security_events) without adding new syntax or format detail, so the baseline of 3 applies.

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?

Opens with a specific verb+resource ('Create a partner delivery binding') and immediately splits the two behavioral modes: producer 'agent' POSTs HMAC-signed run results, producer 'security_events' streams audit events to a SIEM. This is enough to distinguish it from list/update/delete/rotate siblings without opening the schema.

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

Usage Guidelines4/5

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

Gives clear lifecycle guidance: the binding is born DRAFT and must be activated via set_partner_binding_status, and the secret can only be re-obtained through rotation. It does not contrast creating a new binding versus update_partner_binding on an existing one, so the create-vs-update decision is left implicit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources