Skip to main content
Glama

Register Mahadasha-End Webhook

astroway_webhooks_mahadasha_end

Fires N days before a Vimshottari mahadasha ends.

[Group: Webhooks] [Endpoint: POST /v1/webhooks/mahadasha-end] [Required: url] [Cost: 10 credits (Tier 1)]

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

Input Schema

NameRequiredDescriptionDefault
urlYes
fieldsNoComma-separated paths inside `data` to keep, e.g. "planets.name,houses.cusp".
precisionNoRound numbers to this many decimals.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedInput schema / properties / fields / description
      Previous value: -"Compact mode: comma-separated dotted paths to keep, relative to `data`, e.g. \"planets.name,planets.longitude,houses.cusp\". Omit for the whole response."New value: +"Comma-separated paths inside `data` to keep, e.g. \"planets.name,houses.cusp\"."
    • changedInput schema / properties / precision / description
      Previous value: -"Compact mode: round fractional numbers to this many decimals. Longitudes carry 14 by default; 2 is finer than any chart is drawn."New value: +"Round numbers to this many decimals."
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": {},
      -  "properties": {
      -    "event": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "id": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  2. Changed4 schema fields changed
    • removedOutput schema / properties / event / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / event / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / id / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / id / type
      Added value: +[
      +  "number",
      +  "null"
      +]
  3. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, openWorldHint=true and destructiveHint=false, so the write/external-side-effect profile is covered. The description adds genuinely new context -- credit cost tier and the concrete endpoint -- but says nothing about whether repeated registration creates duplicate webhooks, what the registration returns (id/secret), or how to later list or remove it despite siblings like astroway_webhooks_id and astroway_webhooks_webhooks.

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?

Very short and front-loaded: the triggering condition comes first, followed by compact bracketed metadata (group, endpoint, required, cost). Nothing is padded, though the bracket lines are somewhat machine-scannable boilerplate rather than explanatory prose.

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

Completeness3/5

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

A webhook-creation mutation with no output schema needs the description to say what comes back and what to do next; this one only supplies cost, endpoint, and the required field. The missing lead-time parameter versus the stated 'N days' behavior leaves a real functional gap an agent would trip over.

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 67%: 'fields' and 'precision' are already documented in the schema, and url carries format/maxLength. The description only repeats that url is required, adding no meaning. Worse, the 'N days' lead time implied in the first line has no parameter at all, leaving the agent unable to reconcile the advertised behavior with the three-parameter signature.

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?

The description names a specific event resource and scope: a webhook that fires N days before a Vimshottari mahadasha ends, which separates it from siblings like astroway_webhooks_dasha_change or astroway_webhooks_retrograde_end. The action verb ('register') lives only in the title, and the description reads more like an event definition than a registration call. The unexplained 'N days' also has no corresponding parameter, so the stated behavior cannot be configured as described.

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

Usage Guidelines2/5

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

It states a required parameter (url) and a cost (10 credits, Tier 1), but gives no when-to-use guidance, no exclusion of alternative webhook tools such as dasha_change, and no prerequisites (auth, subscription limits, how many webhooks are allowed). The agent must infer selection from the tool name alone.

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