Skip to main content
Glama

Lovie Company Formation

Set Company Address

formation_set_company_address

Sets the company's business address. After the state is set, read lovie_mailbox_available from formation_get_formation. When it is true, present BOTH options: source = ADDRESS_SOURCE_OWN with their own address, which may be anywhere in the world, or source = ADDRESS_SOURCE_NEED_ASSISTANCE for Lovie's virtual mailbox in that state (a real US address Lovie provides); offer the mailbox whenever the user has no address or prefers not to use a home/personal one. When it is false, say Lovie's mailbox is not offered in that state and offer their own address or skipping for now; NEED_ASSISTANCE is refused there. A skipped address is still required before payment. Every address needs a street, city, and ISO country code; a US address also needs its state and a 5-digit ZIP.

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": {
      "formationId": "<formationId>"
    },
    "name": "formation_set_company_address"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceNo
addressNo
formationIdYesUUID value wrapper.
physicalBusinessAddressNo

Output Schema

NameRequiredDescriptionDefault
formationIdNo
needsVirtualPostMailNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed18 schema fields changed
    • removedInput schema / properties / address / properties / city / pattern
      Removed value: -"^[A-Za-z .'-]+$"
    • removedInput schema / properties / address / properties / country / maxLength
      Removed value: -2
    • changedInput schema / properties / address / properties / country / pattern
      Previous value: -"^[A-Z]*$"New value: +"^[A-Z]{2}$"
    • removedInput schema / properties / address / properties / county / pattern
      Removed value: -"^[A-Za-z ]*$"
    • changedInput schema / properties / address / properties / state / maxLength
      Previous value: -50New value: +100
    • removedInput schema / properties / address / properties / state / minLength
      Removed value: -1
    • removedInput schema / properties / address / properties / state / pattern
      Removed value: -"^[A-Za-z ]+$"
    • removedInput schema / properties / address / properties / street1 / pattern
      Removed value: -"^[A-Za-z0-9 .,#/-]+$"
    • removedInput schema / properties / address / properties / street2 / pattern
      Removed value: -"^[A-Za-z0-9 .,#/-]*$"
    • changedInput schema / properties / address / properties / zipCode / maxLength
      Previous value: -10New value: +20
    • removedInput schema / properties / address / properties / zipCode / minLength
      Removed value: -5
    • removedInput schema / properties / address / properties / zipCode / pattern
      Removed value: -"^[0-9]{5}(-[0-9]{4})?$"
    • addedInput schema / properties / physicalBusinessAddress
      Added value: +{
      +  "properties": {
      +    "city": {
      +      "maxLength": 100,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "country": {
      +      "pattern": "^[A-Z]{2}$",
      +      "type": "string"
      +    },
      +    "county": {
      +      "maxLength": 100,
      +      "type": "string"
      +    },
      +    "state": {
      +      "maxLength": 100,
      +      "type": "string"
      +    },
      +    "street1": {
      +      "maxLength": 200,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "street2": {
      +      "maxLength": 200,
      +      "type": "string"
      +    },
      +    "zipCode": {
      +      "maxLength": 20,
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • changedInput schema / properties / source / enum
      Previous value: -[
      -  "ADDRESS_SOURCE_UNSPECIFIED",
      -  "ADDRESS_SOURCE_OWN",
      -  "ADDRESS_SOURCE_NEED_ASSISTANCE"
      -]New value: +[
      +  "ADDRESS_SOURCE_OWN",
      +  "ADDRESS_SOURCE_NEED_ASSISTANCE"
      +]
    • addedOutput schema / properties / formationId / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / formationId / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / formationId / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / formationId / type
      Removed value: -"object"
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only cover openWorldHint and destructiveHint, so the description carries the behavioral burden and does it well: it discloses the cross-tool read dependency, the refusal behavior for ADDRESS_SOURCE_NEED_ASSISTANCE in unsupported states, and downstream consequence of a skipped address. This is context an agent cannot get from the structured fields.

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?

Purpose is front-loaded and every sentence is operational rather than filler, but the packed conditional instructions make it a dense read. It is appropriately sized for the branching logic it encodes, though it could be tightened slightly.

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?

An output schema exists, so return values need no explanation, and the description covers the ordering dependency, the availability check, and validation rules. It stops short of specifying what happens when source is omitted or how address differs from physicalBusinessAddress, which are the remaining gaps for a four-parameter, nested-object tool.

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

Parameters4/5

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

Schema description coverage is only 25%, so the description must compensate, and it does for the enum: it explains what ADDRESS_SOURCE_OWN and ADDRESS_SOURCE_NEED_ASSISTANCE mean and which is refused when. It also states field requirements (street, city, ISO country code; state and 5-digit ZIP for US). The gap is that it never distinguishes the two similarly shaped params, address and physicalBusinessAddress, nor explains the formationId wrapper, leaving a real ambiguity.

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?

States a specific verb and resource: 'Sets the company's business address.' The reference to 'After the state is set' implicitly distinguishes it from the sibling formation_set_state, and no other sibling handles the address, so an agent can identify it immediately.

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 branching guidance: check lovie_mailbox_available via formation_get_formation; when true, present BOTH source options; when false, say the mailbox is not offered and NEED_ASSISTANCE is refused. It also states the preference rule (offer mailbox when no address or not wanting a home/personal one) and the consequence of skipping (still required before payment).

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.