Skip to main content
Glama

search_campaigns

Read-onlyIdempotent

Find simulation campaigns by name, lifecycle state, goal, use case, or schedule. Results are newest by created_at, not scheduled_at; next_cursor identifies the next page. PROCESSING means reporting is being finalized, not proof of failure or an operations backlog.

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": {
      "organization_id": "<organization_id>"
    },
    "name": "search_campaigns"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalsNo
limitNo
queryNo
cursorNo
statusesNo
use_casesNo
scheduled_toNo
scheduled_fromNo
organization_idYes

Output Schema

NameRequiredDescriptionDefault
contextYes
campaignsYes
request_idYes
next_cursorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/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 safety is covered. The description adds genuinely non-inferable behavior: result ordering is by created_at rather than scheduled_at, next_cursor drives pagination, and PROCESSING is a reporting-finalization state rather than failure or backlog — that last point is valuable disambiguation an agent could easily misinterpret.

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?

Three sentences with distinct jobs — purpose, ordering/pagination, status semantics — and the core purpose is front-loaded with zero filler. Nothing is redundant with the annotations or schema.

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?

An output schema exists, so return shape need not be explained, and ordering, pagination and the trickiest status value are covered. Gaps remain for a nine-parameter tool: limit behavior, the mandatory organization scope, and filter combination semantics are unstated, which slightly under-serves an agent building a compound query.

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 0% across nine parameters, so the description carries the burden. It conceptually covers query, statuses, goals, use_cases, schedule range and cursor, but does not name the parameters, does not explain limit (default 20, max 100), does not clarify the required organization_id scoping, and does not say whether filters combine with AND or how `query` matches (name only vs. other text).

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 and resource ('Find simulation campaigns') and enumerates the exact filter axes (name, lifecycle state, goal, use case, schedule), which map cleanly onto the schema's query/statuses/goals/use_cases/scheduled_* fields. It is clearly a cross-cutting retrieval tool, distinguishable from deterministic siblings like get_campaign_summary or list_organizations.

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 by the enumeration of filters: an agent can infer it should call this when it wants a filtered list of campaigns rather than a single summary or a scoped sub-resource search. However, it never states when not to use it, nor does it point to a specific alternative such as get_campaign_summary or search_simulation_campaign_scenarios when a single known campaign is wanted.

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