Skip to main content
Glama
doitintl

DoiT MCP Server

Official
by doitintl

update_customer_geographic_access_scope

Destructive

Replace a customer's geographic access scope to set allowed countries for tenant access. Use to update country-based restrictions for a root customer or its children in the hierarchy.

Instructions

Manage country-based access to tenants in your customer hierarchy. Atomically replaces the geographic scope for a target customer. The authenticated tenant must be the hierarchy root, and the target must be that root customer or one of its child customers. Repeating an identical request is idempotent. Requires the UsersManager permission.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
X-Tenant-IdNo
customerContextNoScope the request to a specific customer by ID. Required for DoiT employees (whose token isn't tied to a single customer); omit for direct customer users.
targetCustomerIdYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv0.22.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that the operation atomically replaces the existing scope, is idempotent for identical requests, and carries specific auth/permission requirements. This adds meaningful behavioral detail about mutation, replacement, and safety that annotations alone do not convey.

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?

Four dense sentences with no filler. The main action and scope are front-loaded, followed by constraints, idempotency, and permission requirements. Every sentence adds value.

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?

The description covers the key behavioral aspects: atomic replacement, hierarchy constraints, idempotency, and permissions. With no output schema, return behavior is not addressed, and parameter-level detail for X-Tenant-Id is thin, so it is not fully complete but is strong for a destructive update tool.

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 description coverage is only 33%, and the description partially compensates by explaining that the targetCustomerId must be the root or a child customer and that the authenticated tenant must be the hierarchy root. However, it does not explicitly explain X-Tenant-Id or customerContext semantics, leaving some parameter meaning to inference.

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 uses a specific verb and resource: 'Atomically replaces the geographic scope for a target customer' within a customer hierarchy. It is clearly distinct from sibling tools like update_user_geographic_access_scope and update_geographic_access_custom_region, which target different entities.

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 gives clear eligibility context: the authenticated tenant must be the hierarchy root, the target must be the root or a child customer, and the UsersManager permission is required. It does not explicitly name alternatives or say when not to use this tool, but the context is strong enough.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/doitintl/doit-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server