Skip to main content
Glama

Vastu overlay SVG

astroway_vastu_shastra_render_vastu
Read-onlyIdempotent

The /vastu/plan input drawn as an SVG in the plan's own coordinates on a transparent background, to lay straight over the floor-plan image: the 81-cell mandala with its deities, or the 16 zones, or the 8 directions as rays from the centre the school reads from, rooms coloured by verdict, the door with its pada, and a north arrow. options.format: "svg" returns the image itself.

[Group: Vastu Shastra] [Endpoint: POST /v1/render/vastu] [Required: coords, northAngle, boundary] [Cost: 20 credits (Tier 2)]

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": {
      "coords": "<coords>",
      "northAngle": "<northAngle>",
      "boundary": "<boundary>"
    },
    "name": "astroway_vastu_shastra_render_vastu"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsNo
roomsNo
coordsYes
facingNo
fieldsNoComma-separated paths inside `data` to keep, e.g. "planets.name,houses.cusp".
schoolNo
optionsNo
boundaryYes
entranceNo
precisionNoRound numbers to this many decimals.
northAngleYes
declinationNo
scoreVersionNo
entranceMethodNo
northReferenceNo

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": {
      -    "from": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "language": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "layer": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "school": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "svg": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "warnings": {
      -      "anyOf": [
      -        {
      -          "items": {
      -            "anyOf": [
      -              {},
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "type": "array"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  2. Changed10 schema fields changed
    • removedOutput schema / properties / from / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / from / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / language / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / language / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / layer / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / layer / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / school / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / school / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / svg / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / svg / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  3. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely useful behaviour beyond that: transparent background, plan-native coordinates, the 20-credit Tier 2 cost, the three required inputs, and the fact that format='svg' is what makes it return the image itself. It still leaves gaps on what the non-SVG default returns and how large output can get (options.width up to 4000).

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 visual content is front-loaded in the first clause and the operative detail (format='svg' returns the image) is called out last, with the endpoint/required/cost block kept compact. The first sentence is long and comma-chained but every clause names a distinct rendered element, so little is wasted.

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?

For a 15-parameter, nested-object renderer with no output schema, the description does well on the output side (what the SVG contains, coordinate frame, transparency) but thin on the input side. An agent can infer when to ask for svg, but cannot tell from the description how to supply the mandatory boundary/coords/northAngle geometry or what the JSON mode returns.

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

Parameters2/5

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

Schema description coverage is only 13% across 15 parameters, so the description must carry the parameter load, and it only partially does. It gives real meaning for options.layer (mandala / 16 zones / 8 directions), options.format, and school ('the school reads from'), and loosely for entrance (door with pada) and rooms (coloured by verdict). It says nothing about coords.system/units/normalized, boundary, items, facing, fields, northReference vs declination, entranceMethod, scoreVersion, precision, or the width option.

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 artifact: the vastu plan input 'drawn as an SVG in the plan's own coordinates on a transparent background', and enumerates exactly what appears in the drawing (mandala, zones, direction rays, verdict-coloured rooms, door with pada, north arrow). That is enough to separate it from the sibling compute tools (vastu_mandala, vastu_zones, vastu_plan), which return data rather than a rendered image, though the description never explicitly names them.

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?

Usage is implied rather than stated: the overlay is meant 'to lay straight over the floor-plan image', which tells the agent the situation it serves. There is no explicit when-to-use/when-not, no pointer to the sibling tools that produce the underlying plan data, and no statement that the default (format json) returns geometry instead of an image.

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