Skip to main content
Glama

admin_set_site_context

[EN] Bulk-set site conditions for any houses (admin only, admin_token; no edit_token). Pass entries: [{slug, zoning?, road_width_m?, high_district?, fire_district?, climate_zone?, latitude?, neighbor_setback_m?, min_lot_area_m2?, shadow_regulation?}]. DB + cache applied immediately. For operators to backfill zoning/road-width (e.g. from reinfolib) across all properties. / 任意の物件の敷地条件を一括上書き (管理者のみ・edit_token 不要)。entries 配列で複数物件をまとめて投入。DB+キャッシュ即時反映。用途地域/道路幅員等の実データを全物件へ流し込む運用者向け。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugNo単一指定する場合 (entries の代わり)
entriesNo物件ごとの敷地条件。各要素は {slug(必須), zoning?, road_width_m?, north_setback_m?, neighbor_setback_m?, high_district?, fire_district?, climate_zone?, latitude?, min_lot_area_m2?, shadow_regulation?}
admin_tokenYes管理者トークン (必須)

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations provided, the description carries full burden. It discloses that 'DB + cache applied immediately' and that it operates on 'any houses' via admin token. However, it does not detail whether the operation is destructive (overwrites existing data) or merges, nor does it describe error handling, rate limits, or partial update behavior. Adequate but not comprehensive.

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?

The description is concise with no fluff. It front-loads key information (admin only, bulk, immediate effect) and then details the entries format and use case. The bilingual presentation (English and Japanese) is necessary. Every sentence earns its place.

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?

Given no output schema, the description should ideally mention what the tool returns (e.g., success count, error details). It omits return value info but covers purpose, usage, and effects well. For a mutation tool, the immediate effect disclosure is good. Minor gap for completeness.

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 100%, so baseline is 3. The description adds value by listing the optional fields in entries (zoning, road_width_m, etc.) and clarifying that slug is required per entry. It also explains the relationship between slug and entries parameters (single vs bulk). This context enhances understanding beyond the schema.

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?

The description clearly states the tool's purpose: 'Bulk-set site conditions for any houses (admin only, admin_token; no edit_token)'. It specifies the resource (site conditions) and action (bulk-set), and distinguishes from sibling tools by emphasizing admin-only and bulk operation. The use case for backfilling data from reinfolib adds context.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly notes 'admin only, admin_token; no edit_token', indicating authentication requirements and that edit_token is not needed. It gives a concrete use case: 'For operators to backfill zoning/road-width across all properties'. However, it does not explicitly name alternative tools like set_site_context for single house updates, though the context is implied by the sibling list.

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.

TDQS

A3.6/5.0
Disambiguation4/5

Most tools have distinct purposes, but some potential overlap exists (e.g., get_site_context and get_houki_rules both provide site conditions, and set_site_context vs. upsert_zoning_rule could be confused). Overall, descriptions help disambiguate.

Naming Consistency4/5

Tools predominantly use a verb_noun pattern (e.g., create_house, update_house, set_visibility). A few outliers like houki_check and whoami break the pattern, but naming is mostly consistent.

Tool Count3/5

29 tools is heavy but covers a broad domain (house design, construction, catalog, contractors, admin). Some tools are niche (e.g., list_incomplete_addresses, set_forkable), but each serves a clear purpose. Could be streamlined.

Completeness4/5

Core operations for house lifecycle (create, read, update, check) are present. Lacks explicit delete/archive for houses (only set_visibility), and no tool to update site context directly (only set via set_site_context). Minor gaps but domain is well-covered.

Resources