Skip to main content
Glama

Create Global Value

create-global-value

Create a global value, used as {{global.}}. Automations can wait until a date value ("1 day before global.webinar_date").

Input Schema

NameRequiredDescriptionDefault
keyYesLowercase letters, digits and _, starting with a letter.
nameNo
typeNoDefault text. date is YYYY-MM-DD, datetime is ISO 8601.
valueNo
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already disclose that this is a non-read-only, non-destructive, non-idempotent mutation. The description adds useful context about how global values are consumed, including a date-wait example. It does not disclose collision behavior when the key already exists, permission requirements, or whether creation fails on duplicate keys, which matters for a non-idempotent create.

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 two tight sentences that front-load the core purpose and then add the most relevant usage context. Every sentence contributes something an agent would not get from the tool name alone.

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?

For a five-parameter mutation tool with no output schema and only 40% schema description coverage, the description leaves several gaps. It communicates purpose and downstream usage well, but an agent still lacks guidance on duplicate keys, failure modes, and how type and value interact.

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 low at 40%, so the description should compensate more. It adds operational meaning for the key reference syntax and date-value behavior, but does not explain the name, description, or how the value parameter must align with the selected type. The added semantics are useful but incomplete against the coverage gap.

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 names a specific verb and resource: create a global value. It also explains how the created value is referenced as {{global.<key>}}, which helps an agent understand the tool's output context. It does not explicitly differentiate this from update-global-value or delete-global-value, but the create action is unambiguous.

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?

The description implies usage by explaining that global values are referenced in templates and can be used in automation date waits. However, it does not state when to use this tool instead of update-global-value, or what to do if a value with the same key already exists. The guidance is contextual but not prescriptive.

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.