Skip to main content
Glama

pre_action_check

Check for conflicts or overlaps before performing an action against shared leases and intents.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "resource": "<resource>",
      "intent": "<intent>"
    },
    "name": "pre_action_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
intentYes
resourceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and says nothing about whether this is read-only, whether it mutates or reserves state, or what happens on a detected conflict. For a gate-keeping pre-check, the outcome semantics (pass/block, returned conflict details) are the most important behavior and are entirely undisclosed.

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

Conciseness4/5

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

A single front-loaded sentence with no wasted words. It is efficient, though the brevity comes at the cost of substance rather than reflecting a complete specification.

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?

For a coordination gate with two required but undocumented parameters, no annotations, and no output schema, the definition is too thin. An agent cannot know how to populate the inputs or how to interpret the result before acting on shared leases.

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% for two required parameters, so the description must compensate but does not. It alludes to 'intent' and 'shared leases' in passing, but never explains the expected format or granularity of 'intent' or what a 'resource' identifier should look like, leaving an agent to guess at required string values.

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 ('check') and target ('conflicts or overlaps') scoped to 'shared leases and intents' before an action. An agent can tell this is a pre-flight validation tool rather than a claim/log operation, though the nature of the 'conflicts' checked is left abstract.

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 does provide timing guidance with 'before performing an action,' which implies the correct moment to call it. However, it names no alternative tools (e.g. log_intent or claim_task) and gives no when-not or prerequisite conditions, so the agent must infer the workflow position.

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