Skip to main content
Glama

Create account inbound webhook

stack_partner_create_account_webhook

Create an inbound webhook under an account the partner owns and return its URL and metadata. The webhook belongs to the account: its audit chain and KMS context are the account's. Signing is configured by the partner owner or admin through the REST API or SDK (https://getstack.run/docs/api/inbound-webhooks); this tool returns no signing secret.

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": {
      "account_id": "<account_id>",
      "provider": "<provider>",
      "agent_id": "<agent_id>"
    },
    "name": "stack_partner_create_account_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesAgent under the account that security_events attribute to (e.g. agt_*). Must belong to the account.
providerYesProvider identifier.
account_idYesAccount id (op_*) — must belong to your partner operator.
forward_urlNoDownstream URL STACK POSTs to after a clean scan. Null = log-only.
generic_configNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false and openWorldHint=false; the description adds real behavioral context on top: the webhook's audit chain and KMS context belong to the account, signing is provisioned externally, and critically 'this tool returns no signing secret'. That last point prevents a common agent error. It still omits idempotency, permission requirements for the caller, and failure behavior.

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?

Three sentences, front-loaded with purpose and return value, then ownership semantics, then the signing caveat with a documentation link. Every sentence carries information; the docs URL earns its place because it points to the only way to configure signing.

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

Completeness4/5

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

Five parameters including a nested generic_config object and no output schema, yet the description covers what is created, what is returned (URL and metadata), ownership of audit/KMS context, and the signing gap. The remaining omission — how the provider enum changes behavior or what forward_url=null means operationally — is already handled inside the schema.

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 80%, so the schema already explains account_id, agent_id, provider and forward_url. The description adds only indirect meaning — that no signing secret is returned, which implies the signature fields in generic_config are configured elsewhere rather than surfaced here. Baseline 3 applies when the schema carries the parameter documentation.

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

Purpose4/5

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

States a specific verb and resource ('Create an inbound webhook') plus both scope ('under an account the partner owns') and return value ('its URL and metadata'). The partner-ownership qualifier implicitly separates it from the account-scoped stack_create_inbound_webhook sibling, though no sibling is named explicitly.

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?

The partner-ownership scope implies when this tool is appropriate, and the sentence about signing being configured by the partner owner or admin through the REST API/SDK tells the agent that signing setup is out of scope here. However, there is no explicit statement of when to prefer this over stack_create_inbound_webhook or stack_partner_create_account, and no prerequisite conditions for calling it.

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.