Skip to main content
Glama

Search actions

search_actions
Read-only

Search Actions

When to use: 이 프로젝트에서 할 수 있는 쓰기 작업(캠페인 만들기 · 확정, 매체 변경 제안 등)을 찾을 때. 쓰기 전에 먼저 부른다.

Limitations: 호출자 권한으로 쓸 수 있는 것만 나온다. tier A=초안(되돌림 가능, 바로 실행) · B=확정(되돌릴 수 없음, preview_action 의 토큰 필요) · C=외부 매체 쓰기(실행 불가, create_action_proposal 로 제안만). input_schema 로 입력을 만든다.

Examples:

  • Q: 캠페인 관련해서 뭘 할 수 있어? params: {'query': {'query': 'campaign'}}

Output shape: {actions: [{action_type, title, description, tier, input_schema, requires}]}

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
tierNo
queryNo이름 · 설명에 들어간 말
project-idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description still adds substantial non-structured context: results are filtered to what the caller is permitted to execute, and the A/B/C tiers encode reversibility (draft is reversible, confirm is irreversible and requires a preview_action token, external writes cannot be executed at all). That tier/irreversibility disclosure is exactly the kind of behavior annotations cannot express. It stops short of describing pagination or result caps, which keeps it from a 5.

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?

The definition is front-loaded and sectioned (When to use / Limitations / Examples / Output shape), and each block earns its place. The only waste is the 'Output shape' line, which duplicates the output schema, plus the malformed example, which costs correctness rather than length.

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 three-parameter discovery tool with an output schema already present, the description supplies the key decision logic (tier semantics, permission filtering, call-before-write ordering). The remaining gaps are the undocumented project-id parameter and the schema-inconsistent example, both of which an agent would trip over.

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 only 33%, so the description must compensate. It does add real meaning for 'tier' by defining what A/B/C mean, but it never explains 'project-id', which silently scopes the whole search. Worse, the example params ({'query': {'query': 'campaign'}}) nest a 'query' object while the schema types query as a string, so the one worked example may actively mislead on call construction.

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?

The description names a specific verb and resource ('Search Actions') and scopes it to discovering write operations available in the current project. The 'When to use' line enumerates concrete examples (creating/confirming campaigns, media change proposals) that let an agent separate this discovery tool from siblings like preview_action and create_action_proposal.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states explicitly when to call it ('쓰기 전에 먼저 부른다' – call this first before any write) and names the downstream alternatives conditioned on tier: preview_action for tier B tokens, create_action_proposal for tier C. The when-to-use, ordering, and alternative routing are all present, leaving nothing to inference.

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