Skip to main content
Glama

Search

ct_search
Read-onlyIdempotent

Search films, shows, and cinemas by Persian name to retrieve IDs needed for film details, showtimes, and cinema lookups.

Instructions

Search films, shows and cinemas by name; returns ids for ct_film, ct_showtimes and ct_cinema.

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": {
      "query": "<query>"
    },
    "name": "ct_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesFilm, show or cinema name (Persian)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description contributes the return contract (ids for downstream tools) but says nothing about match behavior (exact vs partial), number of results, ambiguity handling, or empty results — meaningful gaps given openWorldHint implies an external catalog.

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?

One sentence, front-loaded with the action and scope, then the return contract. No filler or redundancy.

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 search tool with no output schema, the description is nearly sufficient — it names the entity types and the id return shape. It falls short only on result-set behavior (how many hits, ranking, partial matching) that an agent needs to interpret the response.

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% and already documents the single required query string including the Persian-language note. The description adds a small amount by clarifying that the query can be a film, show, or cinema name, which tells the agent one search spans three entity types — useful context beyond the schema's field label.

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?

States a specific verb and resource set (search films, shows, cinemas by name) and adds the useful detail that results are ids intended for ct_film, ct_showtimes and ct_cinema. That handoff framing distinguishes it from the id-taking detail siblings, though the distinction is implied rather than stated as a rule.

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 implied: look up a name, then pass the returned ids to the sibling detail tools. There is no explicit when-to-use versus when-not, and no mention of alternatives such as ct_now_showing, ct_upcoming or ct_box_office for browsing rather than name lookup.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.