Skip to main content
Glama

AstroWay Astrology API (full catalogue)

Upload White-label Logo

astroway_whitelabel_logo
Read-onlyIdempotent

Upload a logo as a base64 data URL (data:image/<png|jpeg|svg+xml|webp>;base64,...). Maximum 512 KB. Replaces any prior logo and deletes the old file from storage.

[Group: White-label] [Endpoint: POST /v1/whitelabel/logo] [Required: data_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": {
      "data_url": "<data_url>"
    },
    "name": "astroway_whitelabel_logo"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoComma-separated paths inside `data` to keep, e.g. "planets.name,houses.cusp".
data_urlYes
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": {
      -    "byte_length": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "logo_storage_key": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "logo_url": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "mime_type": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  2. Changed8 schema fields changed
    • removedOutput schema / properties / byte_length / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / byte_length / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / logo_storage_key / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / logo_storage_key / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / logo_url / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / logo_url / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / mime_type / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / mime_type / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  3. First observed

TDQS

B3/5.0
Behavior1/5

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

The description discloses a mutating, destructive side effect: it replaces the prior logo and permanently deletes the old file from storage. The annotations simultaneously declare readOnlyHint=true and destructiveHint=false, which directly contradicts the described behavior. This is exactly the inconsistency the contradiction rule targets, so the score bottoms out despite the otherwise informative detail about the 512 KB cap and cost.

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 the action and encoding, then the size cap, then the replacement consequence — a sensible ordering with no filler. The bracketed metadata lines (group, endpoint, required, cost) are compact and readable.

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 three-parameter mutation with no output schema, the description covers the action, the payload format, the size limit and the cost. It is nevertheless incomplete: the purpose of the `fields` and `precision` parameters in a logo-upload context is never addressed, and the destructive behavior is stated in a way that conflicts with the supplied annotations.

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%, and the description adds real value for data_url by stating the 512 KB maximum that the pattern alone does not convey. It says nothing about the `fields` and `precision` properties, which are unrelated to a logo upload and go entirely unexplained in both the schema and the description.

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 ('Upload a logo') plus the accepted encoding format and size ceiling, so the action is unambiguous. It does not explicitly distinguish itself from the whitelabel_config, domain_verify or preview siblings, leaving the agent to infer separation from the resource name alone.

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 'Replaces any prior logo' clause implies this is the single canonical way to set a brand logo, which is useful implicit guidance. However there is no explicit when-to-use/when-not-to-use statement and no named alternative for reading or previewing the current logo.

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