Skip to main content
Glama

Update site

update_site
DestructiveIdempotent

Update an existing site by ID. Requires sites:write scope.

Input Schema

NameRequiredDescriptionDefault
idYesSite ID
cityNoCity
nameNoSite name
addressNoStreet address
countryNoCountry
provinceNoProvince/state
year_builtNoYear built
descriptionNoDescription
postal_codeNoPostal/zip code
contact_nameNoPrimary contact name
contact_emailNoContact email
contact_phoneNoContact phone
cost_per_sqftNoBase cost per square foot
lease_detailsNoFree-text lease details / notes
lease_end_dateNoLease end date (YYYY-MM-DD)
owner_landlordNoProperty owner or landlord
ownership_typeNoOwnership type
renewal_optionNoLease renewal option details
square_footageNoSquare footage
lease_start_dateNoLease start date (YYYY-MM-DD)
insurance_providerNoInsurance provider name
insurance_policy_numberNoInsurance policy number
additional_cost_per_sqftNoAdditional cost per square foot
property_manager_companyNoProperty management company name
operational_cost_per_sqftNoOperational cost per square foot
property_manager_contact_nameNoProperty management contact name
property_manager_contact_emailNoProperty management contact email
property_manager_contact_phoneNoProperty management contact phone

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
  2. Changed3 schema fields changed
    • changedInput schema / $schema
      Previous value: -"https://json-schema.org/draft/2020-12/schema"New value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / id / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
  3. Changed3 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
  4. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this is not read-only, is idempotent, and is destructive. The description adds useful auth context with 'Requires sites:write scope,' but it does not explain partial-update semantics, what happens to omitted fields, or how destructive the operation may be beyond the annotation hint.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the core action and followed by the prerequisite scope. There is no wasted language.

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?

Given a 28-parameter update tool, the description is minimal. It covers purpose and authorization, and annotations cover safety, but it leaves out whether this is a full or partial update and what happens to omitted fields, which are important for correct invocation.

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 100%, so the schema documents all 28 parameters. The description only adds that the update is performed 'by ID,' which slightly reinforces the required id parameter but does not enrich field meanings or update semantics beyond the schema.

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 states a clear verb+resource: 'Update an existing site by ID.' It distinguishes this from its many siblings by resource (site vs. building, system, etc.), though it does not explicitly name an alternative or clarify scope beyond 'existing site.'

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?

It gives the required auth scope ('Requires sites:write scope') and implies the site must already exist, but it does not say when to use this tool versus alternatives such as create_site, delete_site, or update_building, nor does it give exclusions.

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