Skip to main content
Glama

create_access_token

Exchange an authorization code for an access token to authenticate API requests with Qiita, enabling secure interaction with articles, comments, tags, and team management functions.

Instructions

Create a new access token by exchanging an authorization code

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
client_idYesOAuth application client ID
client_secretYesOAuth application client secret
codeYesAuthorization code received from OAuth flow
Behavior2/5

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

No annotations are provided, so the description carries full burden. While 'Create' implies a write operation, it doesn't disclose important behavioral traits like whether this requires specific permissions, what happens to existing tokens, rate limits, or what the response contains. The description is minimal and lacks behavioral context.

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?

The description is a single, efficient sentence that directly states the tool's purpose with zero wasted words. It's appropriately sized and front-loaded with the essential information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an authentication tool with no annotations and no output schema, the description is inadequate. It doesn't explain what the access token is for, what permissions it grants, how long it's valid, or what the return value looks like. The context signals show this is a 3-parameter tool with no output schema, requiring more comprehensive description.

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 100%, so the schema already documents all three parameters (client_id, client_secret, code) with their OAuth-specific meanings. The description adds no additional parameter information beyond what's in the schema, meeting the baseline for high schema coverage.

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?

The description clearly states the action ('Create a new access token') and mechanism ('by exchanging an authorization code'), providing specific verb+resource. However, it doesn't distinguish from sibling 'create_team_access_token' which appears to be a similar tool for team contexts.

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

Usage Guidelines2/5

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

No guidance is provided about when to use this tool versus alternatives like 'create_team_access_token' or when to use it versus other authentication methods. The description only states what it does, not when it should be used.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sunu-py-jp/Qiita-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server