Skip to main content
Glama

Creative Constraints

Get Constraint

get_constraint
Read-onlyIdempotent

Fetches one specific card from Pipeworx's original creative-constraints deck by its id (e.g. "inversion_03"), returns its category, title, the constraint sentence and why it helps. Use list_constraint_categories or a draw_constraint result to find real ids.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "wildcard_05"
    },
    "name": "get_constraint"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe card id, e.g. "perspective_01" or "wildcard_12".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent and non-destructive, so safety is declared. The description adds context the annotations cannot: it enumerates the returned fields (category, title, constraint sentence, why it helps), which matters because there is no output schema. It omits error behavior for missing ids.

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 sentences with zero filler: what it does and what it returns comes first, id-sourcing guidance second. Every clause earns its place.

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 single-parameter read tool with no output schema, the description fully covers what is fetched, how to get valid ids, and what fields come back. Only missing piece is failure behavior on an invalid id.

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 coverage is 100% and the schema already supplies the id description and example values, so the description's examples are largely redundant. It does reinforce the id format expectation, but adds no semantics beyond the schema.

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?

States a specific verb (fetches), a specific resource (one card from the creative-constraints deck), the lookup key (id) and even an example id. It also names the exact return fields, so the agent knows what it gets back and can tell it apart from draw_constraint and list_constraint_categories.

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?

Explicitly routes the agent to list_constraint_categories or a prior draw_constraint result to obtain valid ids, which is the main failure mode for an id lookup. It does not state when-not-to-use or what happens on an unknown id, so it falls short of full routing guidance.

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.