Skip to main content
Glama

Get ValidationRuleTemplate

validationruletemplate_get
Read-onlyIdempotent

Reads one ValidationRuleTemplate with your own account permissions, the same as the site.

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": {
      "id": "<id>"
    },
    "name": "validationruletemplate_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRow id (uuid).
consumer_user_idNoAct on this seat (own seat, account owner or admin, or staff). Same checks as the site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / consumer_user_id
      Added value: +{
      +  "description": "Act on this seat (own seat, account owner or admin, or staff). Same checks as the site.",
      +  "type": "string"
      +}
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds genuine context beyond them by stating the read runs under the caller's own account permissions and matches the site's checks, which tells the agent this is an authorization-scoped read rather than an unrestricted one.

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 compact sentence that front-loads the operation and resource, with the permission note appended as supporting context. The phrase "the same as the site" is slightly opaque to an agent with no site knowledge, which keeps it from a top score.

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?

For a simple single-record read, the annotations cover safety, the schema fully covers both parameters, and no output schema exists to require return-value prose. The remaining gap is that nothing describes what a ValidationRuleTemplate contains, but that is a minor omission for a get-by-id tool.

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 coverage is 100%, so the id and consumer_user_id parameters are already documented, setting the baseline at 3. The description adds a layer of meaning to consumer_user_id by framing it as acting under caller permissions equivalent to the site's checks, which is not spelled out in the schema text.

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?

"Reads one ValidationRuleTemplate" states a specific verb and resource and makes clear this returns a single record, distinguishing it implicitly from the list sibling. It does not explicitly name the list tool as the alternative, so it falls short of the top mark.

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?

Usage is only implied: the singular object and required id suggest fetching one known record, which contrasts with a listing operation. No explicit when-to-use, when-not-to-use, or named alternative is given.

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.