Skip to main content
Glama

Set Gservice Query Options

set_gservice_query_options
DestructiveIdempotent

Create or replace the caller's merchant-wide gservice_query_options record. The OpenAI account is given by openai_account_id or openai_account_uuid.

Input Schema

NameRequiredDescriptionDefault
openai_account_idNo
openai_account_uuidNo
gservice_query_option_typeNo
gservice_query_option_optionsNo
gservice_query_option_languagesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is covered. The description adds the useful scoping fact that the record is per-caller and merchant-wide, and 'create or replace' corroborates the idempotent/destructive pair, but it never says what is lost on replace (e.g. whether omitted option fields are nulled out).

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 tight sentences with no filler, the mutation semantics front-loaded ahead of the identifier detail. Nothing could be cut.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a destructive, open-world, all-optional-parameter upsert with 0% schema coverage and no output schema, so the description must do the heavy lifting. It omits the meaning of the three domain-specific fields, the accepted values of the option type string, and what the replace semantics do to previously set values.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the full burden for five parameters. It clarifies only that openai_account_id and openai_account_uuid are alternative identifiers, leaving gservice_query_option_type, gservice_query_option_options (a free-form object) and gservice_query_option_languages entirely unexplained in both schema and 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?

The description gives a specific verb phrase ('Create or replace') against a named resource ('gservice_query_options record') and states its scope as 'merchant-wide'. That is enough to separate it from the read-side sibling get_gservice_query_options, though the domain concept itself remains opaque.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance is offered, and no sibling is named. The upsert framing implies it subsumes create and update, but an agent gets no signal on prerequisites (e.g. whether the record must already exist, whether get_gservice_query_options should be called first).

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.