Skip to main content
Glama

Vedara: Vedic astrology

Check Ashtakoot compatibility

check_compatibility

Calculate traditional 36-point Ashtakoot (Guna Milan, gun milan, Kundli matching) compatibility for two consenting people, with Moon, Lagna, chart positions, and dosha flags. Order does not matter. Before calling, if the user has not said each person's gender, ask once (it is optional; pass none if they would rather not say). With one man and one woman the man is read as the groom (Varna and Vashya are directional); otherwise those two kootas are averaged over both orders. reading_order in the result says which rule applied. Do not frame the score as a command to start or end a relationship. Use city, region and country for a place. If a place is not found, ask the user to clarify it before trying another tool with the same place. Use only verified latitude and longitude; never guess coordinates.

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": {
      "person_a": "<person_a>",
      "person_b": "<person_b>"
    },
    "name": "check_compatibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
languageNoen
person_aYes
person_bYes
person_a_genderNoPerson A's gender as the user stated it. Ask if unknown; omit if they prefer not to say.
person_b_genderNoPerson B's gender as the user stated it. Ask if unknown; omit if they prefer not to say.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / person_a_gender / description
      Previous value: -"Person A's gender, only when the user has stated it."New value: +"Person A's gender as the user stated it. Ask if unknown; omit if they prefer not to say."
    • changedInput schema / properties / person_b_gender / description
      Previous value: -"Person B's gender, only when the user has stated it."New value: +"Person B's gender as the user stated it. Ask if unknown; omit if they prefer not to say."
  2. Changed2 schema fields changed
    • addedInput schema / properties / person_a_gender
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "female",
      +        "male"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Person A's gender, only when the user has stated it."
      +}
    • addedInput schema / properties / person_b_gender
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "female",
      +        "male"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Person B's gender, only when the user has stated it."
      +}
  3. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false; the description supplies the substantive behavior the agent needs — the directional-vs-averaged koota rule, the reading_order indicator in the result, dosha flags, and the open-world place-resolution path with a 'clarify before retrying elsewhere' rule. It does not describe failure modes for bad coordinate pairs or how a partial (missing time) birth is handled, which keeps it short of a 5.

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?

Front-loaded with what the tool computes, then procedural guidance in a sensible sequence. It is dense but each sentence carries a rule (gender asking, directional rule, framing restriction, place clarification, coordinate verification); a little of the place/coordinate guidance repeats wording already present in the schema descriptions.

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?

With an output schema present, the description need not detail return values, yet it still flags reading_order and dosha flags so the agent knows what to surface. For a five-parameter nested-object tool with open-world geocoding, the rules an agent needs to call it correctly are all stated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

At 40% schema coverage the description has to carry weight, and it does: it explains that the two gender fields change the calculation (directional vs averaged), that they are optional and should be asked for once, and that place strings must be city/region/country with verified coordinates and no guessing. That is meaning beyond what the schema conveys about these five parameters.

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?

Names a specific verb and output: 'Calculate traditional 36-point Ashtakoot (Guna Milan, gun milan, Kundli matching) compatibility for two consenting people,' and enumerates what is returned (Moon, Lagna, chart positions, dosha flags). This clearly separates it from siblings like compute_chart and analyze_doshas, which produce chart or dosha output rather than a matching score.

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 pre-call guidance (ask once for gender, optional, pass none if declined), states that input order does not matter, and spells out the alternative resolution paths: one man + one woman makes Varna/Vashya directional, otherwise those kootas are averaged with reading_order reporting which rule applied. It also sets boundaries ('do not frame the score as a command to start or end a relationship') and a fallback procedure when a place is unresolved.

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